diff options
author | Sukadev Bhattiprolu <[email protected]> | 2012-10-31 11:21:28 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-11-14 16:53:39 -0300 |
commit | 1483c2ae90738e7453bfe446a3bbcdd0ba9abf36 (patch) | |
tree | c3c8b0ca9db16d5bbdd0e0febb61ff566cf8f4a0 | |
parent | 1668fc6505bd0796e34ee7f65eee69e81daaabe9 (diff) |
perf powerpc: 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 <[email protected]>
Acked-by: David Howells <[email protected]>
Cc: Anton Blanchard <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Robert Richter <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
-rw-r--r-- | tools/perf/perf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/perf.h b/tools/perf/perf.h index 00472646b3bf..f53ee0bbee88 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" |