diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-05-07 16:27:23 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-05-08 15:05:05 -0400 |
commit | 94cdda6b98b3708f04f426204542aa69d4780fa9 (patch) | |
tree | 627596b50bbc53001d8bb2e1d949b343ad966ee1 /tools/perf/perf-sys.h | |
parent | 827634added7f38b7d724cab1dccdb2b004c13c3 (diff) |
perf tools: Move sparc barrier.h stuff to tools/arch/sparc/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-f0d04b9x63grt30nahpw9ei0@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/perf-sys.h')
-rw-r--r-- | tools/perf/perf-sys.h | 9 |
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 @@ | |||
57 | #endif | 57 | #endif |
58 | 58 | ||
59 | #ifdef __sparc__ | 59 | #ifdef __sparc__ |
60 | #ifdef __LP64__ | ||
61 | #define mb() asm volatile("ba,pt %%xcc, 1f\n" \ | ||
62 | "membar #StoreLoad\n" \ | ||
63 | "1:\n":::"memory") | ||
64 | #else | ||
65 | #define mb() asm volatile("":::"memory") | ||
66 | #endif | ||
67 | #define wmb() asm volatile("":::"memory") | ||
68 | #define rmb() asm volatile("":::"memory") | ||
69 | #define CPUINFO_PROC {"cpu"} | 60 | #define CPUINFO_PROC {"cpu"} |
70 | #endif | 61 | #endif |
71 | 62 | ||