diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2010-02-27 06:53:38 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-02-27 06:53:38 -0500 |
commit | 598c5abad7f3e162a01c87a480f8d2cd57643acb (patch) | |
tree | 59de67100591f6edf18aa7b803f1cc1567dfd312 /arch/mips | |
parent | 2ba53e37120fba00fa10bebc13b9723f25e1f845 (diff) |
MIPS: IP27: Convert nmi_lock lock to arch spinlock;
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/sgi-ip27/ip27-nmi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/sgi-ip27/ip27-nmi.c b/arch/mips/sgi-ip27/ip27-nmi.c index fa0872be0185..bc4fa8dd67f3 100644 --- a/arch/mips/sgi-ip27/ip27-nmi.c +++ b/arch/mips/sgi-ip27/ip27-nmi.c | |||
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | typedef unsigned long machreg_t; | 21 | typedef unsigned long machreg_t; |
22 | 22 | ||
23 | static DEFINE_SPINLOCK(nmi_lock); | 23 | static arch_spinlock_t nmi_lock = __ARCH_SPIN_LOCK_UNLOCKED; |
24 | 24 | ||
25 | /* | 25 | /* |
26 | * Lets see what else we need to do here. Set up sp, gp? | 26 | * Lets see what else we need to do here. Set up sp, gp? |
@@ -194,7 +194,7 @@ cont_nmi_dump(void) | |||
194 | /* | 194 | /* |
195 | * Only allow 1 cpu to proceed | 195 | * Only allow 1 cpu to proceed |
196 | */ | 196 | */ |
197 | spin_lock(&nmi_lock); | 197 | arch_spin_lock(&nmi_lock); |
198 | 198 | ||
199 | #ifdef REAL_NMI_SIGNAL | 199 | #ifdef REAL_NMI_SIGNAL |
200 | /* | 200 | /* |