git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: 7466/1: disable interrupt before spinning endlessly
[pandora-kernel.git]
/
arch
/
arm
/
kernel
/
process.c
diff --git
a/arch/arm/kernel/process.c
b/arch/arm/kernel/process.c
index
19c95ea
..
693b744
100644
(file)
--- a/
arch/arm/kernel/process.c
+++ b/
arch/arm/kernel/process.c
@@
-247,6
+247,7
@@
void machine_shutdown(void)
void machine_halt(void)
{
machine_shutdown();
+ local_irq_disable();
while (1);
}
@@
-268,6
+269,7
@@
void machine_restart(char *cmd)
/* Whoops - the platform was unable to reboot. Tell the user! */
printk("Reboot failed -- System halted\n");
+ local_irq_disable();
while (1);
}