[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>
This commit is contained in:
committed by
Linus Torvalds
parent
8d06afab73
commit
a9f6a0dd54
@@ -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)
|
||||
|
Reference in New Issue
Block a user