diff options
author | Roel Kluin <12o3l@tiscali.nl> | 2007-10-16 23:30:25 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 08:43:01 -0700 |
commit | f7a75f0a40073601a0fb509290019d5f3f32b94b (patch) | |
tree | 61b4e44ec385b17fe0177fbece0c02d7ad1e882f /arch/powerpc | |
parent | d68c9d6ae8f1fdae7d998158adc5ee106a2f8ce6 (diff) | |
download | linux-f7a75f0a40073601a0fb509290019d5f3f32b94b.tar.gz linux-f7a75f0a40073601a0fb509290019d5f3f32b94b.tar.bz2 linux-f7a75f0a40073601a0fb509290019d5f3f32b94b.zip |
spin_lock_unlocked cleanups
Replace some SPIN_LOCK_UNLOCKED with DEFINE_SPINLOCK
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/mm/slice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/slice.c b/arch/powerpc/mm/slice.c index 319826ef1645..ad928edafb0a 100644 --- a/arch/powerpc/mm/slice.c +++ b/arch/powerpc/mm/slice.c @@ -34,7 +34,7 @@ #include <asm/mmu.h> #include <asm/spu.h> -static spinlock_t slice_convert_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(slice_convert_lock); #ifdef DEBUG |