diff options
Diffstat (limited to 'include/asm-i386/atomic.h')
-rw-r--r-- | include/asm-i386/atomic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/atomic.h b/include/asm-i386/atomic.h index 5690c46e2..fd1d75beb 100644 --- a/include/asm-i386/atomic.h +++ b/include/asm-i386/atomic.h @@ -17,7 +17,7 @@ * on us. We need to use _exactly_ the address the user gave us, * not some alias that contains the same information. */ -#define __atomic_fool_gcc(x) (*(struct { int a[100]; } *)x) +#define __atomic_fool_gcc(x) (*(volatile struct { int a[100]; } *)x) #ifdef __SMP__ typedef struct { volatile int counter; } atomic_t; |