summaryrefslogtreecommitdiff
path: root/tools/perf/perf-sys.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/perf-sys.h')
-rw-r--r--tools/perf/perf-sys.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/perf/perf-sys.h b/tools/perf/perf-sys.h
index 7ef5e821d418..b3e911afa1de 100644
--- a/tools/perf/perf-sys.h
+++ b/tools/perf/perf-sys.h
@@ -57,15 +57,6 @@
#endif
#ifdef __sparc__
-#ifdef __LP64__
-#define mb() asm volatile("ba,pt %%xcc, 1f\n" \
- "membar #StoreLoad\n" \
- "1:\n":::"memory")
-#else
-#define mb() asm volatile("":::"memory")
-#endif
-#define wmb() asm volatile("":::"memory")
-#define rmb() asm volatile("":::"memory")
#define CPUINFO_PROC {"cpu"}
#endif