x86, perfcounters: add atomic64_xchg()
authorIngo Molnar <mingo@elte.hu>
Tue, 7 Apr 2009 09:30:17 +0000 (11:30 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 7 Apr 2009 10:02:41 +0000 (12:02 +0200)
commit98c2aaf8be5baf7193be37fb28bce8e7327158bc
tree53309d2f2cd1b4464e1336f8041779d0637a9f9b
parent6278af660ff83fbafb18e53fc2747eb2ee6780fa
x86, perfcounters: add atomic64_xchg()

Complete atomic64_t support on the 32-bit side by adding atomic64_xch().

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20090406094518.445450972@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/atomic_32.h