atomic: Prepare generic atomic implementation for logic ops
authorPeter Zijlstra <peterz@infradead.org>
Wed, 15 Jul 2015 13:47:25 +0000 (15:47 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 27 Jul 2015 12:06:21 +0000 (14:06 +0200)
commit56d1defe0bbddaa97d6e74b51490904130fd4f1d
tree59a3495e8bd5b2c4b9388d64bcfd06ee6b5e58b8
parentcbfe8fa6cd672011c755c3cd85c9ffd4e2d10a6f
atomic: Prepare generic atomic implementation for logic ops

Clean up the #ifdef guards a bit to prepare for architectures to
supply their own logic ops.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-generic/atomic.h