2015-04-30 23:33:22 +08:00
|
|
|
#if defined(__i386__) || defined(__x86_64__)
|
|
|
|
#include "../../arch/x86/include/asm/barrier.h"
|
2015-05-08 05:14:25 +08:00
|
|
|
#elif defined(__arm__)
|
|
|
|
#include "../../arch/arm/include/asm/barrier.h"
|
|
|
|
#elif defined(__aarch64__)
|
|
|
|
#include "../../arch/arm64/include/asm/barrier.h"
|
2015-05-07 05:35:20 +08:00
|
|
|
#elif defined(__powerpc__)
|
|
|
|
#include "../../arch/powerpc/include/asm/barrier.h"
|
2015-05-07 05:44:53 +08:00
|
|
|
#elif defined(__s390__)
|
|
|
|
#include "../../arch/s390/include/asm/barrier.h"
|
2015-05-08 04:09:48 +08:00
|
|
|
#elif defined(__sh__)
|
|
|
|
#include "../../arch/sh/include/asm/barrier.h"
|
2015-05-08 04:27:23 +08:00
|
|
|
#elif defined(__sparc__)
|
|
|
|
#include "../../arch/sparc/include/asm/barrier.h"
|
2015-05-08 21:02:00 +08:00
|
|
|
#elif defined(__tile__)
|
|
|
|
#include "../../arch/tile/include/asm/barrier.h"
|
2015-05-08 04:52:19 +08:00
|
|
|
#elif defined(__alpha__)
|
|
|
|
#include "../../arch/alpha/include/asm/barrier.h"
|
2015-05-08 20:40:36 +08:00
|
|
|
#elif defined(__mips__)
|
|
|
|
#include "../../arch/mips/include/asm/barrier.h"
|
2015-05-08 05:03:14 +08:00
|
|
|
#elif defined(__ia64__)
|
|
|
|
#include "../../arch/ia64/include/asm/barrier.h"
|
2015-05-08 19:53:26 +08:00
|
|
|
#elif defined(__xtensa__)
|
|
|
|
#include "../../arch/xtensa/include/asm/barrier.h"
|
2015-05-08 04:17:17 +08:00
|
|
|
#else
|
|
|
|
#include <asm-generic/barrier.h>
|
2015-04-30 23:33:22 +08:00
|
|
|
#endif
|