summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/semaphore.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-09-27 11:31:32 +0900
committerPaul Mundt <lethal@linux-sh.org>2006-09-27 11:31:32 +0900
commit765ae317ce030217af556dc46bec238dab15091e (patch)
treeb2460562ac2d6b2efe9138f3cf6c66b1cab308fa /arch/sh/kernel/semaphore.c
parenta252710fc5b63b24934905ca47ecf661702d7f00 (diff)
downloadblackbird-op-linux-765ae317ce030217af556dc46bec238dab15091e.tar.gz
blackbird-op-linux-765ae317ce030217af556dc46bec238dab15091e.zip
sh: Fixup some uninitialized spinlocks.
Fix use of uninitialized spinlocks, caught with spinlock debugging.. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/semaphore.c')
-rw-r--r--arch/sh/kernel/semaphore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/semaphore.c b/arch/sh/kernel/semaphore.c
index a3c24dcbf01d..184119eeae56 100644
--- a/arch/sh/kernel/semaphore.c
+++ b/arch/sh/kernel/semaphore.c
@@ -14,7 +14,7 @@
#include <asm/semaphore.h>
#include <asm/semaphore-helper.h>
-spinlock_t semaphore_wake_lock;
+DEFINE_SPINLOCK(semaphore_wake_lock);
/*
* Semaphores are implemented using a two-way counter:
OpenPOWER on IntegriCloud