x86/cmpxchg, locking/atomics: Remove superfluous definitions
authorNikolay Borisov <n.borisov.lkml@gmail.com>
Mon, 26 Sep 2016 18:11:18 +0000 (21:11 +0300)
committerIngo Molnar <mingo@kernel.org>
Fri, 30 Sep 2016 08:56:01 +0000 (10:56 +0200)
commit08645077b7f9f7824dbaf1959b0e014a894c8acc
tree6229e034f931df37cc1ef9f560922708bd8373e2
parentcfd8983f03c7b2f977faab8dfc4ec5f6dbf9c1f3
x86/cmpxchg, locking/atomics: Remove superfluous definitions

cmpxchg contained definitions for unused (x)add_* operations, dating back
to the original ticket spinlock implementation. Nowadays these are
unused so remove them.

Signed-off-by: Nikolay Borisov <n.borisov.lkml@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: hpa@zytor.com
Link: http://lkml.kernel.org/r/1474913478-17757-1-git-send-email-n.borisov.lkml@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/cmpxchg.h