Skip to content

Commit

Permalink
[POWERPC] powermac: local_irq_disable() is redundant after local_irq_…
Browse files Browse the repository at this point in the history
…save()

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>
  • Loading branch information
Jiri Kosina authored and Paul Mackerras committed Feb 7, 2007
1 parent f79ce99 commit c23ef29
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/powerpc/platforms/powermac/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c23ef29

Please sign in to comment.