OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34ee414
)
MIPS: IP27: Remove code obfuscation by enter_panic_mode().
author
Ralf Baechle
<ralf@linux-mips.org>
Sat, 27 Feb 2010 11:53:38 +0000
(12:53 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Sat, 27 Feb 2010 11:53:38 +0000
(12:53 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sgi-ip27/ip27-nmi.c
patch
|
blob
|
history
diff --git
a/arch/mips/sgi-ip27/ip27-nmi.c
b/arch/mips/sgi-ip27/ip27-nmi.c
index
8682784
..
fa0872b
100644
(file)
--- a/
arch/mips/sgi-ip27/ip27-nmi.c
+++ b/
arch/mips/sgi-ip27/ip27-nmi.c
@@
-17,7
+17,6
@@
#endif
#define CNODEID_NONE (cnodeid_t)-1
-#define enter_panic_mode() spin_lock(&nmi_lock)
typedef unsigned long machreg_t;
@@
-193,9
+192,9
@@
cont_nmi_dump(void)
atomic_inc(&nmied_cpus);
#endif
/*
- *
Use enter_panic_mode to allow only
1 cpu to proceed
+ *
Only allow
1 cpu to proceed
*/
-
enter_panic_mode(
);
+
spin_lock(&nmi_lock
);
#ifdef REAL_NMI_SIGNAL
/*