path: root/tools/perf/perf-sys.h
diff options
authorArnaldo Carvalho de Melo <>2015-05-08 10:02:00 -0300
committerArnaldo Carvalho de Melo <>2015-05-08 16:05:08 -0300
commitd3bd708114a37bcb472715818ba21d61ef71e86a (patch)
treefb2f72cb7780ce5e0593460ad1f9d6f5420aeac7 /tools/perf/perf-sys.h
parente2164f0406db75cb1ae0bf49ae7915f0ab10e201 (diff)
perf tools: Move tile barrier.h stuff to tools/arch/tile/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 <> Cc: Borislav Petkov <> Cc: David Ahern <> Cc: Don Zickus <> Cc: Frederic Weisbecker <> Cc: Jiri Olsa <> Cc: Namhyung Kim <> Cc: Stephane Eranian <> Link: Signed-off-by: Arnaldo Carvalho de Melo <>
Diffstat (limited to 'tools/perf/perf-sys.h')
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/perf/perf-sys.h b/tools/perf/perf-sys.h
index 876001e7e3c9..e5be325a439e 100644
--- a/tools/perf/perf-sys.h
+++ b/tools/perf/perf-sys.h
@@ -100,9 +100,6 @@
#ifdef __tile__
-#define mb() asm volatile ("mf" ::: "memory")
-#define wmb() asm volatile ("mf" ::: "memory")
-#define rmb() asm volatile ("mf" ::: "memory")
#define cpu_relax() asm volatile ("mfspr zero, PASS" ::: "memory")
#define CPUINFO_PROC {"model name"}