summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include
diff options
context:
space:
mode:
authorPeter Zijlstra2016-04-18 00:58:25 +0200
committerIngo Molnar2016-06-16 10:48:32 +0200
commitb53d6bedbe781974097fd8c38263f6cc78ff9ea7 (patch)
tree76974ec2ced53b2af460b9d729a393a5f9a89525 /arch/xtensa/include
parentlocking/atomic: Implement atomic{,64,_long}_fetch_{add,sub,and,andnot,or,xor}... (diff)
downloadkernel-qcow2-linux-b53d6bedbe781974097fd8c38263f6cc78ff9ea7.tar.gz
kernel-qcow2-linux-b53d6bedbe781974097fd8c38263f6cc78ff9ea7.tar.xz
kernel-qcow2-linux-b53d6bedbe781974097fd8c38263f6cc78ff9ea7.zip
locking/atomic: Remove linux/atomic.h:atomic_fetch_or()
Since all architectures have this implemented now natively, remove this dead code. 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: linux-arch@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/xtensa/include')
-rw-r--r--arch/xtensa/include/asm/atomic.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/xtensa/include/asm/atomic.h b/arch/xtensa/include/asm/atomic.h
index d95a8aa1a6d3..e7a23f2a519a 100644
--- a/arch/xtensa/include/asm/atomic.h
+++ b/arch/xtensa/include/asm/atomic.h
@@ -188,8 +188,6 @@ ATOMIC_OPS(sub)
#undef ATOMIC_OPS
#define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op)
-#define atomic_fetch_or atomic_fetch_or
-
ATOMIC_OPS(and)
ATOMIC_OPS(or)
ATOMIC_OPS(xor)