aboutsummaryrefslogtreecommitdiff
path: root/tools/include/asm
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2015-05-07 18:14:25 -0300
committerArnaldo Carvalho de Melo <[email protected]>2015-05-08 16:05:06 -0300
commit4f3db0746c91453a88e302d1aac30be08ba9e52f (patch)
treed6941cfda3a35eca0c7d027de204fb3d58ca0037 /tools/include/asm
parent163e589d0519b6d6c1e5500f4d14b1fc10b736fe (diff)
perf tools: Move arm(64) barrier.h stuff to tools/arch/arm*/include/asm/barrier.h
We will need it for atomic.h, so move it from the ad-hoc tools/perf/ place to a tools/ subset of the kernel arch/ hierarchy. Cc: Adrian Hunter <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: David Ahern <[email protected]> Cc: Don Zickus <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/include/asm')
-rw-r--r--tools/include/asm/barrier.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/include/asm/barrier.h b/tools/include/asm/barrier.h
index 659aa604ee8a..d2ddca50ec72 100644
--- a/tools/include/asm/barrier.h
+++ b/tools/include/asm/barrier.h
@@ -1,5 +1,9 @@
#if defined(__i386__) || defined(__x86_64__)
#include "../../arch/x86/include/asm/barrier.h"
+#elif defined(__arm__)
+#include "../../arch/arm/include/asm/barrier.h"
+#elif defined(__aarch64__)
+#include "../../arch/arm64/include/asm/barrier.h"
#elif defined(__powerpc__)
#include "../../arch/powerpc/include/asm/barrier.h"
#elif defined(__s390__)