]> err.no Git - linux-2.6/blobdiff - arch/xtensa/kernel/semaphore.c
[PACKET]: Fix sparse warnings in af_packet.c
[linux-2.6] / arch / xtensa / kernel / semaphore.c
index d40f4b1b75acdde5e20b7ca676288fa2fed8d88b..995c6410ae105955d417a921cafb69af061952d0 100644 (file)
@@ -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: