Commit 61b2b514 authored by Tom Rini's avatar Tom Rini Committed by Linus Torvalds

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

Replace cli() function call with local_irq_disable() in shutdown code for
MPC8xx platforms.
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 b785abaf
...@@ -238,7 +238,7 @@ m8xx_restart(char *cmd) ...@@ -238,7 +238,7 @@ m8xx_restart(char *cmd)
{ {
__volatile__ unsigned char dummy; __volatile__ unsigned char dummy;
cli(); local_irq_disable();
((immap_t *)IMAP_ADDR)->im_clkrst.car_plprcr |= 0x00000080; ((immap_t *)IMAP_ADDR)->im_clkrst.car_plprcr |= 0x00000080;
/* Clear the ME bit in MSR to cause checkstop on machine check /* Clear the ME bit in MSR to cause checkstop on machine check
......
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