x86: make atomic64_t work like atomic_t

The volatile keyword has already been removed from the declaration of atomic_t
on x86_64.  For consistency, remove it from atomic64_t as well.

[ tglx: arch/x86 adaptation ]

Signed-off-by: Chris Snook <[email protected]>
Signed-off-by: Andi Kleen <[email protected]>
CC: Andi Kleen <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
This commit is contained in:
Chris Snook 2007-10-17 18:04:38 +02:00 • committed by Thomas Gleixner
commit 883001f982

View file

@ -206,7 +206,7 @@ static __inline__ int atomic_sub_return(int i, atomic_t *v)
/* An 64bit atomic type */
typedef struct { volatile long counter; } atomic64_t;
typedef struct { long counter; } atomic64_t;
#define ATOMIC64_INIT(i) { (i) }