diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2010-02-27 12:53:38 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-02-27 12:53:38 +0100 |
commit | 2ba53e37120fba00fa10bebc13b9723f25e1f845 (patch) | |
tree | 88e8a50e7cc31a7f1556322974a807ad06c63193 /arch/mips/sgi-ip27 | |
parent | 34ee4148472996c5fd25fbb5697982914cfe955a (diff) |
MIPS: IP27: Remove code obfuscation by enter_panic_mode().
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sgi-ip27')
-rw-r--r-- | arch/mips/sgi-ip27/ip27-nmi.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/mips/sgi-ip27/ip27-nmi.c b/arch/mips/sgi-ip27/ip27-nmi.c index 8682784abfc..fa0872be018 100644 --- 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 /* |