diff options
author | Kyle McMartin <kyle@mcmartin.ca> | 2009-06-23 21:38:49 -0400 |
---|---|---|
committer | Kyle McMartin <kyle@mcmartin.ca> | 2009-07-03 03:34:12 +0000 |
commit | 2d4618dce6a318ff4ec78dfe492cc3793015d540 (patch) | |
tree | b262252b97743a6ff4e1011d7069cc9097d3dba3 /tools/perf/perf.h | |
parent | abf1e11a0dcf5514139cb76ed8eb050107653abd (diff) | |
download | linux-stable-2d4618dce6a318ff4ec78dfe492cc3793015d540.tar.gz linux-stable-2d4618dce6a318ff4ec78dfe492cc3793015d540.tar.bz2 linux-stable-2d4618dce6a318ff4ec78dfe492cc3793015d540.zip |
parisc: perf: wire up sys_perf_counter_open
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'tools/perf/perf.h')
-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 ceb68aa51f7f..188801b4ebc6 100644 --- a/tools/perf/perf.h +++ b/tools/perf/perf.h @@ -19,6 +19,12 @@ #define cpu_relax() asm volatile("" ::: "memory"); #endif +#ifdef __hppa__ +#include "../../arch/parisc/include/asm/unistd.h" +#define rmb() asm volatile("" ::: "memory") +#define cpu_relax() asm volatile("" ::: "memory"); +#endif + #include <time.h> #include <unistd.h> #include <sys/types.h> |