]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-i386/spinlock_types.h
x86_64: x86_64 - Use non locked version for local_cmpxchg()
[linux-2.6-omap-h63xx.git] / include / asm-i386 / spinlock_types.h
index 59efe849f351f0bc556b73e1f54dcfec1d09463a..4da9345c15001803a3e7786811f685a0ec5c4616 100644 (file)
@@ -6,13 +6,13 @@
 #endif
 
 typedef struct {
-       volatile unsigned int slock;
+       unsigned int slock;
 } raw_spinlock_t;
 
 #define __RAW_SPIN_LOCK_UNLOCKED       { 1 }
 
 typedef struct {
-       volatile unsigned int lock;
+       unsigned int lock;
 } raw_rwlock_t;
 
 #define __RAW_RW_LOCK_UNLOCKED         { RW_LOCK_BIAS }