summaryrefslogtreecommitdiffstats
path: root/arch/ppc/syslib/qspan_pci.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2005-09-09 22:10:41 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-09 23:03:48 +0200
commita9f6a0dd54efea2a5d57a27e6c232f9197c25154 (patch)
tree1df64545ed43cd23d32201b2f2077c9325dc6ba0 /arch/ppc/syslib/qspan_pci.c
parent[PATCH] timer initialization cleanup: DEFINE_TIMER (diff)
downloadlinux-a9f6a0dd54efea2a5d57a27e6c232f9197c25154.tar.xz
linux-a9f6a0dd54efea2a5d57a27e6c232f9197c25154.zip
[PATCH] more SPIN_LOCK_UNLOCKED -> DEFINE_SPINLOCK conversions
This converts the final 20 DEFINE_SPINLOCK holdouts. (another 580 places are already using DEFINE_SPINLOCK). Build tested on x86. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc/syslib/qspan_pci.c')
-rw-r--r--arch/ppc/syslib/qspan_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/syslib/qspan_pci.c b/arch/ppc/syslib/qspan_pci.c
index 57f4ed5e5ae1..0970b5d30391 100644
--- a/arch/ppc/syslib/qspan_pci.c
+++ b/arch/ppc/syslib/qspan_pci.c
@@ -94,7 +94,7 @@
#define mk_config_type1(bus, dev, offset) \
mk_config_addr(bus, dev, offset) | 1;
-static spinlock_t pcibios_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(pcibios_lock);
int qspan_pcibios_read_config_byte(unsigned char bus, unsigned char dev_fn,
unsigned char offset, unsigned char *val)