locking/arch: Rename set_mb() to smp_store_mb()
authorPeter Zijlstra <peterz@infradead.org>
Tue, 12 May 2015 08:51:55 +0000 (10:51 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 06:32:00 +0000 (08:32 +0200)
commitb92b8b35a2e38bde319fd1d68ec84628c1f1b0fb
tree45aea6d12a580b60848363c10dc355f3307ec1ff
parentab3f02fc237211f0583c1e7ba3bf504747be9b8d
locking/arch: Rename set_mb() to smp_store_mb()

Since set_mb() is really about an smp_mb() -- not a IO/DMA barrier
like mb() rename it to match the recent smp_load_acquire() and
smp_store_release().

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
18 files changed:
Documentation/memory-barriers.txt
arch/arm/include/asm/barrier.h
arch/arm64/include/asm/barrier.h
arch/ia64/include/asm/barrier.h
arch/metag/include/asm/barrier.h
arch/mips/include/asm/barrier.h
arch/powerpc/include/asm/barrier.h
arch/s390/include/asm/barrier.h
arch/sh/include/asm/barrier.h
arch/sparc/include/asm/barrier_64.h
arch/x86/include/asm/barrier.h
arch/x86/um/asm/barrier.h
fs/select.c
include/asm-generic/barrier.h
include/linux/sched.h
kernel/futex.c
kernel/locking/qspinlock_paravirt.h
kernel/sched/wait.c