git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
arch
/
ppc64
/
kernel
/
pmac_nvram.c
diff --git
a/arch/ppc64/kernel/pmac_nvram.c
b/arch/ppc64/kernel/pmac_nvram.c
index
5ab6cd4
..
e32a902
100644
(file)
--- a/
arch/ppc64/kernel/pmac_nvram.c
+++ b/
arch/ppc64/kernel/pmac_nvram.c
@@
-75,7
+75,7
@@
struct core99_header {
static volatile unsigned char *nvram_data;
static int core99_bank = 0;
// XXX Turn that into a sem
-static
spinlock_t nv_lock = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(nv_lock)
;
extern int system_running;