]> err.no Git - linux-2.6/commitdiff
[POWERPC] powermac: local_irq_disable() is redundant after local_irq_save()
authorJiri Kosina <jkosina@suse.cz>
Thu, 1 Feb 2007 15:36:13 +0000 (16:36 +0100)
committerPaul Mackerras <paulus@samba.org>
Wed, 7 Feb 2007 03:03:20 +0000 (14:03 +1100)
arch/powerpc/platforms/powermac/smp.c::smp_core99_kick_cpu() contains
local_irq_disable() call after local_irq_save(). This looks
redundant.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/powermac/smp.c

index eeb2ae5ffc581a1a0c33707365cf7ee45d6ede78..d73fb73802bbef98e36ad0e29a9d06607ba441ad 100644 (file)
@@ -795,7 +795,6 @@ static void __devinit smp_core99_kick_cpu(int nr)
                ppc_md.progress("smp_core99_kick_cpu", 0x346);
 
        local_irq_save(flags);
-       local_irq_disable();
 
        /* Save reset vector */
        save_vector = *vector;