Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 883001f9 authored by Chris Snook's avatar Chris Snook Committed by Thomas Gleixner
Browse files

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: default avatarChris Snook <csnook@redhat.com>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
CC: Andi Kleen <andi@firstfloor.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 5f1f935c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) }