From: Stephen Boyd Date: Tue, 21 May 2013 00:57:16 +0000 (-0700) Subject: ARM: smp: Drop RCU_NONIDLE usage in cpu_die() X-Git-Tag: v3.10-rc3~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aa033810461ee56abbef6cef10aabd6b97f5caee;p=profile%2Fcommon%2Fkernel-common.git ARM: smp: Drop RCU_NONIDLE usage in cpu_die() Before f7b861b7a6d9 ("arm: Use generic idle loop") ARM would kill the CPU within the rcu idle section. Now that the rcu_idle_enter()/exit() pair have been pushed lower down in the idle loop this is no longer true and so using RCU_NONIDLE here is no longer necessary and also harmful because RCU is not actually idle at this point. Cc: Russell King Acked-by: Paul E. McKenney Signed-off-by: Stephen Boyd Signed-off-by: Linus Torvalds --- diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index 47ab905..550d63c 100644 --- a/arch/arm/kernel/smp.c +++ b/arch/arm/kernel/smp.c @@ -251,7 +251,7 @@ void __ref cpu_die(void) * this returns, power and/or clocks can be removed at any point * from this CPU and its cache by platform_cpu_kill(). */ - RCU_NONIDLE(complete(&cpu_died)); + complete(&cpu_died); /* * Ensure that the cache lines associated with that completion are