]> git.baikalelectronics.ru Git - kernel.git/commit
arc: Provide atomic_{or,xor,and}
authorPeter Zijlstra <peterz@infradead.org>
Wed, 23 Apr 2014 18:06:20 +0000 (20:06 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 27 Jul 2015 12:06:21 +0000 (14:06 +0200)
commitbc8f41bd75a76276f685396427068fdd491900a5
tree9339f7096a482c0171414880d438c4134aa1386a
parent234bd58913b022880e91c16cd356a2ac1b334c24
arc: 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.

Acked-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/arc/include/asm/atomic.h