summaryrefslogtreecommitdiffstats
path: root/tools/perf/perf.h
diff options
context:
space:
mode:
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>2012-10-31 19:21:28 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-11-15 03:01:01 +0100
commitd7a1ed163a3bb7aa727d3f9335349055aeea110c (patch)
treefa61a02136b682f7d50e8b1f5236a32332b83b70 /tools/perf/perf.h
parentpowerpc: Fix typos in Freescale copyright claims (diff)
downloadlinux-d7a1ed163a3bb7aa727d3f9335349055aeea110c.tar.xz
linux-d7a1ed163a3bb7aa727d3f9335349055aeea110c.zip
powerpc/perf: Use uapi/unistd.h to fix build error
Use the 'unistd.h' from arch/powerpc/include/uapi to build the perf tool. Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to '')
-rw-r--r--tools/perf/perf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/perf.h b/tools/perf/perf.h
index 276287783a03..d4960c3834e7 100644
--- a/tools/perf/perf.h
+++ b/tools/perf/perf.h
@@ -26,7 +26,7 @@ void get_term_dimensions(struct winsize *ws);
#endif
#ifdef __powerpc__
-#include "../../arch/powerpc/include/asm/unistd.h"
+#include "../../arch/powerpc/include/uapi/asm/unistd.h"
#define rmb() asm volatile ("sync" ::: "memory")
#define cpu_relax() asm volatile ("" ::: "memory");
#define CPUINFO_PROC "cpu"