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
/
ppc
/
platforms
/
pmac_nvram.c
diff --git
a/arch/ppc/platforms/pmac_nvram.c
b/arch/ppc/platforms/pmac_nvram.c
index
3b3f984
..
c9de642
100644
(file)
--- a/
arch/ppc/platforms/pmac_nvram.c
+++ b/
arch/ppc/platforms/pmac_nvram.c
@@
-80,7
+80,7
@@
static volatile unsigned char *nvram_data;
static int nvram_mult, is_core_99;
static int core99_bank = 0;
static int nvram_partitions[3];
-static
spinlock_t nv_lock = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(nv_lock)
;
extern int pmac_newworld;
extern int system_running;