ia64: Fix up smp_mb__{before,after}_clear_bit()
authorPeter Zijlstra <peterz@infradead.org>
Tue, 4 Feb 2014 19:36:01 +0000 (20:36 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 18 Apr 2014 09:40:29 +0000 (11:40 +0200)
commite4f9bfb3feaeaca55cf177dadb7e3313836b10f4
tree14a1a121064fbc30e13176a792f62f8898178081
parent81cef0fe19e086ff6abfd45e92246f68ffa0185f
ia64: Fix up smp_mb__{before,after}_clear_bit()

IA64 doesn't actually have acquire/release barriers, its a lie!

Add a comment explaining this and fix up the bitop barriers.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/n/tip-akevfh136um9dqvb1ohm55ca@git.kernel.org
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: linux-ia64@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/ia64/include/asm/bitops.h
arch/ia64/include/uapi/asm/cmpxchg.h