diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-07-01 03:56:10 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-07-01 03:56:26 -0400 |
commit | 087021ba41e9481202103d51d3dd0c4706899a2b (patch) | |
tree | bf5d67420fd176682a1f8f1e9342ad397c23937a /tools/perf | |
parent | fb9c818873a788c5c01c9868cc6050df96e2c7df (diff) | |
parent | e83c2b0ff325f52dda1aff3572d0e1516216c54b (diff) |
Merge branch 'linus' into perfcounters/urgent
Merge reason: this branch was on a .30-ish base before, update
it to an almost-.31-rc2 upstream base to pick up fixes.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/perf.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/perf/perf.h b/tools/perf/perf.h index a49842b69a59..ce394192c85a 100644 --- a/tools/perf/perf.h +++ b/tools/perf/perf.h | |||
@@ -13,6 +13,12 @@ | |||
13 | #define cpu_relax() asm volatile ("" ::: "memory"); | 13 | #define cpu_relax() asm volatile ("" ::: "memory"); |
14 | #endif | 14 | #endif |
15 | 15 | ||
16 | #ifdef __s390__ | ||
17 | #include "../../arch/s390/include/asm/unistd.h" | ||
18 | #define rmb() asm volatile("bcr 15,0" ::: "memory") | ||
19 | #define cpu_relax() asm volatile("" ::: "memory"); | ||
20 | #endif | ||
21 | |||
16 | #include <time.h> | 22 | #include <time.h> |
17 | #include <unistd.h> | 23 | #include <unistd.h> |
18 | #include <sys/types.h> | 24 | #include <sys/types.h> |