projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b73f65
)
perf powerpc: Use uapi/unistd.h to fix build error
author
Sukadev Bhattiprolu
<
[email protected]
>
Wed, 31 Oct 2012 18:21:28 +0000
(11:21 -0700)
committer
David Howells
<
[email protected]
>
Mon, 19 Nov 2012 22:10:41 +0000
(22:10 +0000)
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]
>
tools/perf/perf.h
patch
|
blob
|
history
diff --git
a/tools/perf/perf.h
b/tools/perf/perf.h
index c50985eaec41f479d2593dab749d061d3cb03c3d..e2ba8f004d32826e57f776b71377f053052bd5dd 100644
(file)
--- 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"