summaryrefslogtreecommitdiffstats
path: root/tools/include/asm/barrier.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2015-05-07 23:14:25 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-05-08 21:05:06 +0200
commit4f3db0746c91453a88e302d1aac30be08ba9e52f (patch)
treed6941cfda3a35eca0c7d027de204fb3d58ca0037 /tools/include/asm/barrier.h
parentperf tools: Move ia64 barrier.h stuff to tools/arch/ia64/include/asm/barrier.h (diff)
downloadlinux-4f3db0746c91453a88e302d1aac30be08ba9e52f.tar.xz
linux-4f3db0746c91453a88e302d1aac30be08ba9e52f.zip
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 <adrian.hunter@intel.com> Cc: Borislav Petkov <bp@suse.de> Cc: David Ahern <dsahern@gmail.com> Cc: Don Zickus <dzickus@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-cgfhreaejd7ohitdjccu9k2o@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/include/asm/barrier.h')
-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__)