提交 883001f9 编写于 作者: C Chris Snook 提交者: Thomas Gleixner

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: NChris Snook <csnook@redhat.com>
Signed-off-by: NAndi Kleen <ak@suse.de>
CC: Andi Kleen <andi@firstfloor.org>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 5f1f935c
......@@ -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) }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册