]> Git Repo - linux.git/commit
arch: Clean up asm/barrier.h implementations using asm-generic/barrier.h
authorPeter Zijlstra <[email protected]>
Wed, 6 Nov 2013 13:57:36 +0000 (14:57 +0100)
committerIngo Molnar <[email protected]>
Sun, 12 Jan 2014 09:37:15 +0000 (10:37 +0100)
commit93ea02bb84354370e51de803a9405f171f3edf88
treedc7c7719fdfe0aed36eae3c2b374ced951e62a4c
parent1de7da377bd880ff23917f78924d0e908329d978
arch: Clean up asm/barrier.h implementations using asm-generic/barrier.h

We're going to be adding a few new barrier primitives, and in order to
avoid endless duplication make more agressive use of
asm-generic/barrier.h.

Change the asm-generic/barrier.h such that it allows partial barrier
definitions and fills out the rest with defaults.

There are a few architectures (m32r, m68k) that could probably
do away with their barrier.h file entirely but are kept for now due to
their unconventional nop() implementation.

Suggested-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: "Paul E. McKenney" <[email protected]>
Reviewed-by: Mathieu Desnoyers <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Michael Neuling <[email protected]>
Cc: Russell King <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Victor Kaplansky <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
24 files changed:
arch/alpha/include/asm/barrier.h
arch/arc/include/asm/Kbuild
arch/avr32/include/asm/barrier.h
arch/blackfin/include/asm/barrier.h
arch/cris/include/asm/Kbuild
arch/cris/include/asm/barrier.h [deleted file]
arch/frv/include/asm/barrier.h
arch/hexagon/include/asm/Kbuild
arch/m32r/include/asm/barrier.h
arch/m68k/include/asm/barrier.h
arch/microblaze/include/asm/Kbuild
arch/microblaze/include/asm/barrier.h [deleted file]
arch/mn10300/include/asm/Kbuild
arch/mn10300/include/asm/barrier.h [deleted file]
arch/parisc/include/asm/Kbuild
arch/parisc/include/asm/barrier.h [deleted file]
arch/score/include/asm/Kbuild
arch/score/include/asm/barrier.h [deleted file]
arch/sh/include/asm/barrier.h
arch/sparc/include/asm/barrier_32.h
arch/tile/include/asm/barrier.h
arch/unicore32/include/asm/barrier.h
arch/xtensa/include/asm/barrier.h
include/asm-generic/barrier.h
This page took 0.090001 seconds and 4 git commands to generate.