aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/perf.h6
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 @@
19#define cpu_relax() asm volatile("" ::: "memory"); 19#define cpu_relax() asm volatile("" ::: "memory");
20#endif 20#endif
21 21
22#ifdef __hppa__
23#include "../../arch/parisc/include/asm/unistd.h"
24#define rmb() asm volatile("" ::: "memory")
25#define cpu_relax() asm volatile("" ::: "memory");
26#endif
27
22#include <time.h> 28#include <time.h>
23#include <unistd.h> 29#include <unistd.h>
24#include <sys/types.h> 30#include <sys/types.h>