locking: Rename __RAW_SPIN_LOCK_UNLOCKED to __ARCH_SPIN_LOCK_UNLOCKED
[linux-2.6.git] / arch / mips / include / asm / spinlock_types.h
index ce26c50..b4c5efa 100644 (file)
@@ -6,10 +6,15 @@
 #endif
 
 typedef struct {
-       volatile unsigned int lock;
-} raw_spinlock_t;
+       /*
+        * bits  0..13: serving_now
+        * bits 14    : junk data
+        * bits 15..28: ticket
+        */
+       unsigned int lock;
+} arch_spinlock_t;
 
-#define __RAW_SPIN_LOCK_UNLOCKED       { 0 }
+#define __ARCH_SPIN_LOCK_UNLOCKED      { 0 }
 
 typedef struct {
        volatile unsigned int lock;