diff options
Diffstat (limited to 'include/asm-sparc/spinlock_types.h')
-rw-r--r-- | include/asm-sparc/spinlock_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sparc/spinlock_types.h b/include/asm-sparc/spinlock_types.h index 0a0fb116c4e..37cbe01c585 100644 --- a/include/asm-sparc/spinlock_types.h +++ b/include/asm-sparc/spinlock_types.h @@ -6,7 +6,7 @@ #endif typedef struct { - unsigned char lock; + volatile unsigned char lock; } raw_spinlock_t; #define __RAW_SPIN_LOCK_UNLOCKED { 0 } |