locking/lockref: Remove homebrew cmpxchg64_relaxed() macro definition
authorWill Deacon <will.deacon@arm.com>
Thu, 6 Aug 2015 16:54:40 +0000 (17:54 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 12 Aug 2015 09:59:04 +0000 (11:59 +0200)
commitf5468ffde13fc991bd4d6bdec507ffd5777865bd
tree44e9d385894eec04675320450bc3f77be6a6c2e9
parent6d79ef2d30ee5af7315535d1e7bf6fce0008f815
locking/lockref: Remove homebrew cmpxchg64_relaxed() macro definition

cmpxchg64_relaxed() is now defined by linux/atomic.h, so we can
remove our local definition from the lockref code.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Waiman.Long@hp.com
Cc: paulmck@linux.vnet.ibm.com
Link: http://lkml.kernel.org/r/1438880084-18856-5-git-send-email-will.deacon@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
lib/lockref.c