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
/
mips
/
au1000
/
common
/
power.c
diff --git
a/arch/mips/au1000/common/power.c
b/arch/mips/au1000/common/power.c
index
d9ec587
..
c40dacc
100644
(file)
--- a/
arch/mips/au1000/common/power.c
+++ b/
arch/mips/au1000/common/power.c
@@
-66,7
+66,7
@@
extern void local_enable_irq(unsigned int irq_nr);
#define ACPI_SLEEP 21
-static
spinlock_t pm_lock = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(pm_lock)
;
/* We need to save/restore a bunch of core registers that are
* either volatile or reset to some state across a processor sleep.