X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-x86_64%2Fspinlock_types.h;h=4da9345c15001803a3e7786811f685a0ec5c4616;hb=27bd0c955648646abf2a353a8371d28c37bcd982;hp=59efe849f351f0bc556b73e1f54dcfec1d09463a;hpb=fac84ef26759a3725bfc53ae3abf21976360aff3;p=linux-2.6 diff --git a/include/asm-x86_64/spinlock_types.h b/include/asm-x86_64/spinlock_types.h index 59efe849f3..4da9345c15 100644 --- a/include/asm-x86_64/spinlock_types.h +++ b/include/asm-x86_64/spinlock_types.h @@ -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 }