Commit 76379ca3 authored by Tom Rini's avatar Tom Rini Committed by Linus Torvalds

[PATCH] ppc32: remove cli()/sti() in arch/ppc/platforms/apus_setup.c

Replace cli() function call with local_irq_disable() in restart code on APUS.
Signed-off-by: default avatarJames Nelson <james4765@gmail.com>
Signed-off-by: default avatarTom Rini <trini@kernel.crashing.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2ca5f2f3
...@@ -480,7 +480,7 @@ void cache_clear(__u32 addr, int length) ...@@ -480,7 +480,7 @@ void cache_clear(__u32 addr, int length)
void void
apus_restart(char *cmd) apus_restart(char *cmd)
{ {
cli(); local_irq_disable();
APUS_WRITE(APUS_REG_LOCK, APUS_WRITE(APUS_REG_LOCK,
REGLOCK_BLACKMAGICK1|REGLOCK_BLACKMAGICK2); REGLOCK_BLACKMAGICK1|REGLOCK_BLACKMAGICK2);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment