diff options
author | Peter Zijlstra | 2014-04-23 19:32:50 +0200 |
---|---|---|
committer | Thomas Gleixner | 2015-07-27 14:06:24 +0200 |
commit | e6942b7de2dfe44ebde9bae57dadece5abca9de8 (patch) | |
tree | b235317c5f6d200bcc25b43a406237a0d15319cf /arch/s390/include/asm/atomic.h | |
parent | tile: Provide atomic_{or,xor,and} (diff) | |
download | kernel-qcow2-linux-e6942b7de2dfe44ebde9bae57dadece5abca9de8.tar.gz kernel-qcow2-linux-e6942b7de2dfe44ebde9bae57dadece5abca9de8.tar.xz kernel-qcow2-linux-e6942b7de2dfe44ebde9bae57dadece5abca9de8.zip |
atomic: Provide atomic_{or,xor,and}
Implement atomic logic ops -- atomic_{or,xor,and}.
These will replace the atomic_{set,clear}_mask functions that are
available on some archs.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/s390/include/asm/atomic.h')
-rw-r--r-- | arch/s390/include/asm/atomic.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/s390/include/asm/atomic.h b/arch/s390/include/asm/atomic.h index b3859d8e001f..d761aeff72da 100644 --- a/arch/s390/include/asm/atomic.h +++ b/arch/s390/include/asm/atomic.h @@ -282,8 +282,6 @@ static inline void atomic64_##op(long i, atomic64_t *v) \ __ATOMIC64_LOOP(v, i, __ATOMIC64_##OP, __ATOMIC64_NO_BARRIER); \ } -#define CONFIG_ARCH_HAS_ATOMIC_OR - ATOMIC64_OP(and, AND) ATOMIC64_OP(or, OR) ATOMIC64_OP(xor, XOR) |