From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Gleixner Subject: [patch 30/34] tile: Enter idle with preemption disabled Date: Thu, 21 Mar 2013 21:53:20 -0000 Message-ID: <20130321215235.280451779@linutronix.de> References: <20130321214930.752934102@linutronix.de> Return-path: Content-Disposition: inline; filename=tile-enter-secondary-idle-with-preempt-disabled.patch Sender: linux-kernel-owner@vger.kernel.org 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 List-Id: linux-arch.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(); } From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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> Date: Thu, 21 Mar 2013 21:53:20 -0000 From: Thomas Gleixner 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 Sender: linux-arch-owner@vger.kernel.org List-ID: 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 Message-ID: <20130321215320.xtAyYZrnyMBic1InnwHIc732q59P9FfYWx2k0ahhgXI@z> 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(); }