aboutsummaryrefslogtreecommitdiff
path: root/arch/xtensa/kernel/semaphore.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/kernel/semaphore.c')
-rw-r--r--arch/xtensa/kernel/semaphore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/kernel/semaphore.c b/arch/xtensa/kernel/semaphore.c
index d40f4b1b75a..995c6410ae1 100644
--- a/arch/xtensa/kernel/semaphore.c
+++ b/arch/xtensa/kernel/semaphore.c
@@ -100,7 +100,7 @@ static __inline__ int waking_non_zero_trylock(struct semaphore *sem)
return ret;
}
-spinlock_t semaphore_wake_lock;
+DEFINE_SPINLOCK(semaphore_wake_lock);
/*
* Semaphores are implemented using a two-way counter: