diff options
author | Peter Zijlstra <peterz@infradead.org> | 2016-04-17 18:58:25 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-06-16 04:48:32 -0400 |
commit | b53d6bedbe781974097fd8c38263f6cc78ff9ea7 (patch) | |
tree | 76974ec2ced53b2af460b9d729a393a5f9a89525 /include/asm-generic | |
parent | 28aa2bda2211f4327d83b44a4f917b4a061b1c56 (diff) |
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 'include/asm-generic')
-rw-r--r-- | include/asm-generic/atomic.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-generic/atomic.h b/include/asm-generic/atomic.h index a2304ccf4ed0..9ed8b987185b 100644 --- a/include/asm-generic/atomic.h +++ b/include/asm-generic/atomic.h | |||
@@ -137,8 +137,6 @@ ATOMIC_FETCH_OP(and, &) | |||
137 | #endif | 137 | #endif |
138 | 138 | ||
139 | #ifndef atomic_fetch_or | 139 | #ifndef atomic_fetch_or |
140 | #define atomic_fetch_or atomic_fetch_or | ||
141 | |||
142 | ATOMIC_FETCH_OP(or, |) | 140 | ATOMIC_FETCH_OP(or, |) |
143 | #endif | 141 | #endif |
144 | 142 | ||