From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932593Ab3CUVyq (ORCPT ); Thu, 21 Mar 2013 17:54:46 -0400 Received: from www.linutronix.de ([62.245.132.108]:33277 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932204Ab3CUVxW (ORCPT ); Thu, 21 Mar 2013 17:53:22 -0400 Message-Id: <20130321215235.280451779@linutronix.de> User-Agent: quilt/0.48-1 Date: Thu, 21 Mar 2013 21:53:20 -0000 From: Thomas Gleixner To: LKML Cc: linux-arch@vger.kernel.org, Linus Torvalds , Andrew Morton , Rusty Russell , Paul McKenney , Ingo Molnar , Peter Zijlstra , "Srivatsa S. Bhat" , Magnus Damm , Chris Metcalf Subject: [patch 30/34] tile: Enter idle with preemption disabled References: <20130321214930.752934102@linutronix.de> Content-Disposition: inline; filename=tile-enter-secondary-idle-with-preempt-disabled.patch X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org cpu_idle() needs to be called with preemption disabled. Signed-off-by: Thomas Gleixner Cc: Chris Metcalf --- arch/tile/kernel/smpboot.c | 2 -- 1 file changed, 2 deletions(-) Index: linux-2.6/arch/tile/kernel/smpboot.c =================================================================== --- linux-2.6.orig/arch/tile/kernel/smpboot.c +++ linux-2.6/arch/tile/kernel/smpboot.c @@ -207,8 +207,6 @@ void __cpuinit online_secondary(void) /* Set up tile-timer clock-event device on this cpu */ setup_tile_timer(); - preempt_enable(); - cpu_idle(); }