1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #if defined(__i386__) || defined(__x86_64__) 3 #include "../../arch/x86/include/asm/barrier.h" 4 #elif defined(__arm__) 5 #include "../../arch/arm/include/asm/barrier.h" 6 #elif defined(__aarch64__) 7 #include "../../arch/arm64/include/asm/barrier.h" 8 #elif defined(__powerpc__) 9 #include "../../arch/powerpc/include/asm/barrier.h" 10 #elif defined(__s390__) 11 #include "../../arch/s390/include/asm/barrier.h" 12 #elif defined(__sh__) 13 #include "../../arch/sh/include/asm/barrier.h" 14 #elif defined(__sparc__) 15 #include "../../arch/sparc/include/asm/barrier.h" 16 #elif defined(__tile__) 17 #include "../../arch/tile/include/asm/barrier.h" 18 #elif defined(__alpha__) 19 #include "../../arch/alpha/include/asm/barrier.h" 20 #elif defined(__mips__) 21 #include "../../arch/mips/include/asm/barrier.h" 22 #elif defined(__ia64__) 23 #include "../../arch/ia64/include/asm/barrier.h" 24 #elif defined(__xtensa__) 25 #include "../../arch/xtensa/include/asm/barrier.h" 26 #else 27 #include <asm-generic/barrier.h> 28 #endif 29