]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sh/spinlock_types.h
sh: trivial build cleanups.
[linux-2.6-omap-h63xx.git] / include / asm-sh / spinlock_types.h
index 8c41b6c3aac87adc4fbd73d5320b95e7592c6b18..5c58134f2c4e35a31a402f69c3368e2a9033c326 100644 (file)
@@ -9,7 +9,9 @@ typedef struct {
        volatile unsigned long lock;
 } raw_spinlock_t;
 
-#define __SPIN_LOCK_UNLOCKED           { 0 }
+#define __RAW_SPIN_LOCK_UNLOCKED       { 1 }
+
+#include <asm/atomic.h>
 
 typedef struct {
        raw_spinlock_t lock;