diff options
author | Ingo Molnar <mingo@elte.hu> | 2005-09-09 16:10:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-09 17:03:48 -0400 |
commit | a9f6a0dd54efea2a5d57a27e6c232f9197c25154 (patch) | |
tree | 1df64545ed43cd23d32201b2f2077c9325dc6ba0 /arch/sparc/lib | |
parent | 8d06afab73a75f40ae2864e6c296356bab1ab473 (diff) |
[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/sparc/lib')
-rw-r--r-- | arch/sparc/lib/atomic32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/lib/atomic32.c b/arch/sparc/lib/atomic32.c index 19724c5800a7..2e64e8c3e8e5 100644 --- a/arch/sparc/lib/atomic32.c +++ b/arch/sparc/lib/atomic32.c | |||
@@ -20,7 +20,7 @@ spinlock_t __atomic_hash[ATOMIC_HASH_SIZE] = { | |||
20 | 20 | ||
21 | #else /* SMP */ | 21 | #else /* SMP */ |
22 | 22 | ||
23 | static spinlock_t dummy = SPIN_LOCK_UNLOCKED; | 23 | static DEFINE_SPINLOCK(dummy); |
24 | #define ATOMIC_HASH_SIZE 1 | 24 | #define ATOMIC_HASH_SIZE 1 |
25 | #define ATOMIC_HASH(a) (&dummy) | 25 | #define ATOMIC_HASH(a) (&dummy) |
26 | 26 | ||