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:
2ba53e3
)
MIPS: IP27: Convert nmi_lock lock to arch spinlock;
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
fa0872b
..
bc4fa8d
100644
(file)
--- a/
arch/mips/sgi-ip27/ip27-nmi.c
+++ b/
arch/mips/sgi-ip27/ip27-nmi.c
@@
-20,7
+20,7
@@
typedef unsigned long machreg_t;
-static
DEFINE_SPINLOCK(nmi_lock)
;
+static
arch_spinlock_t nmi_lock = __ARCH_SPIN_LOCK_UNLOCKED
;
/*
* Lets see what else we need to do here. Set up sp, gp?
@@
-194,7
+194,7
@@
cont_nmi_dump(void)
/*
* Only allow 1 cpu to proceed
*/
- spin_lock(&nmi_lock);
+
arch_
spin_lock(&nmi_lock);
#ifdef REAL_NMI_SIGNAL
/*