diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/include/asm/atomic_32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/atomic_32.h b/arch/x86/include/asm/atomic_32.h index 2503d4e64c2a..ae0fbb5b0578 100644 --- a/arch/x86/include/asm/atomic_32.h +++ b/arch/x86/include/asm/atomic_32.h | |||
@@ -250,7 +250,7 @@ static inline int atomic_add_unless(atomic_t *v, int a, int u) | |||
250 | /* An 64bit atomic type */ | 250 | /* An 64bit atomic type */ |
251 | 251 | ||
252 | typedef struct { | 252 | typedef struct { |
253 | unsigned long long counter; | 253 | unsigned long long __aligned(8) counter; |
254 | } atomic64_t; | 254 | } atomic64_t; |
255 | 255 | ||
256 | #define ATOMIC64_INIT(val) { (val) } | 256 | #define ATOMIC64_INIT(val) { (val) } |