]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-x86/spinlock_types.h
module: don't use stop_machine for waiting rmmod
[linux-2.6-omap-h63xx.git] / include / asm-x86 / spinlock_types.h
index 4da9345c15001803a3e7786811f685a0ec5c4616..06c071c9eee9f1d2e5288930b91e511a3d094d61 100644 (file)
@@ -5,11 +5,11 @@
 # error "please don't include this file directly"
 #endif
 
-typedef struct {
+typedef struct raw_spinlock {
        unsigned int slock;
 } raw_spinlock_t;
 
-#define __RAW_SPIN_LOCK_UNLOCKED       { 1 }
+#define __RAW_SPIN_LOCK_UNLOCKED       { 0 }
 
 typedef struct {
        unsigned int lock;