[POWERPC] 86xx: local_irq_disable() is redundant after local_irq_save()
authorJiri Kosina <jkosina@suse.cz>
Thu, 1 Feb 2007 15:36:04 +0000 (16:36 +0100)
committerPaul Mackerras <paulus@samba.org>
Wed, 7 Feb 2007 03:03:20 +0000 (14:03 +1100)
arch/powerpc/platforms/86xx/mpc86xx_smp.c::smp_86xx_kick_cpu() contains
local_irq_disable() call after local_irq_save(). This looks
redundant.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/86xx/mpc86xx_smp.c

index bb7fb41933ad8abe557ae857ceaaf5b8d3f22d53..7ef0c6854799b68bc2164bce879fd86f832a52d1 100644 (file)
@@ -65,7 +65,6 @@ smp_86xx_kick_cpu(int nr)
        pr_debug("smp_86xx_kick_cpu: kick CPU #%d\n", nr);
 
        local_irq_save(flags);
-       local_irq_disable();
 
        /* Save reset vector */
        save_vector = *vector;