Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Arnaldo Carvalho de Melo | 361c564 | 2015-04-30 12:33:22 -0300 | [diff] [blame] | 2 | #if defined(__i386__) || defined(__x86_64__) |
| 3 | #include "../../arch/x86/include/asm/barrier.h" |
Arnaldo Carvalho de Melo | 4f3db07 | 2015-05-07 18:14:25 -0300 | [diff] [blame] | 4 | #elif defined(__arm__) |
| 5 | #include "../../arch/arm/include/asm/barrier.h" |
| 6 | #elif defined(__aarch64__) |
| 7 | #include "../../arch/arm64/include/asm/barrier.h" |
Arnaldo Carvalho de Melo | e43a19c | 2015-05-06 18:35:20 -0300 | [diff] [blame] | 8 | #elif defined(__powerpc__) |
| 9 | #include "../../arch/powerpc/include/asm/barrier.h" |
Arnaldo Carvalho de Melo | 07d207a | 2015-05-06 18:44:53 -0300 | [diff] [blame] | 10 | #elif defined(__s390__) |
| 11 | #include "../../arch/s390/include/asm/barrier.h" |
Arnaldo Carvalho de Melo | 827634a | 2015-05-07 17:09:48 -0300 | [diff] [blame] | 12 | #elif defined(__sh__) |
| 13 | #include "../../arch/sh/include/asm/barrier.h" |
Arnaldo Carvalho de Melo | 94cdda6 | 2015-05-07 17:27:23 -0300 | [diff] [blame] | 14 | #elif defined(__sparc__) |
| 15 | #include "../../arch/sparc/include/asm/barrier.h" |
Arnaldo Carvalho de Melo | d3bd708 | 2015-05-08 10:02:00 -0300 | [diff] [blame] | 16 | #elif defined(__tile__) |
| 17 | #include "../../arch/tile/include/asm/barrier.h" |
Arnaldo Carvalho de Melo | 0da85d1 | 2015-05-07 17:52:19 -0300 | [diff] [blame] | 18 | #elif defined(__alpha__) |
| 19 | #include "../../arch/alpha/include/asm/barrier.h" |
Arnaldo Carvalho de Melo | e2164f0 | 2015-05-08 09:40:36 -0300 | [diff] [blame] | 20 | #elif defined(__mips__) |
| 21 | #include "../../arch/mips/include/asm/barrier.h" |
Arnaldo Carvalho de Melo | 163e589 | 2015-05-07 18:03:14 -0300 | [diff] [blame] | 22 | #elif defined(__ia64__) |
| 23 | #include "../../arch/ia64/include/asm/barrier.h" |
Arnaldo Carvalho de Melo | 3d3337d | 2015-05-08 08:53:26 -0300 | [diff] [blame] | 24 | #elif defined(__xtensa__) |
| 25 | #include "../../arch/xtensa/include/asm/barrier.h" |
Arnaldo Carvalho de Melo | 42b09d7 | 2015-05-07 17:17:17 -0300 | [diff] [blame] | 26 | #else |
| 27 | #include <asm-generic/barrier.h> |
Arnaldo Carvalho de Melo | 361c564 | 2015-04-30 12:33:22 -0300 | [diff] [blame] | 28 | #endif |