Thread (7 messages) flat view 7 messages, 3 authors, 2012-12-08
STALE5016d REVIEWED: 8 (8M)

1 review trailer.

[PATCH 31/32] perf powerpc: Use uapi/unistd.h to fix build error

From: Arnaldo Carvalho de Melo <hidden>
Date: 2012-11-18 14:33:11
Also in: lkml
Subsystem: performance events subsystem, the rest · Maintainers: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo, Namhyung Kim, Linus Torvalds

From: Sukadev Bhattiprolu <redacted>

Use the 'unistd.h' from arch/powerpc/include/uapi to build the perf tool.

Signed-off-by: Sukadev Bhattiprolu <redacted>
Acked-by: David Howells <dhowells@redhat.com>
Cc: Anton Blanchard <redacted>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Paul Mackerras <redacted>
Cc: Peter Zijlstra <redacted>
Cc: Robert Richter <redacted>
Cc: linuxppc-dev@ozlabs.org
Link: http://lkml.kernel.org/r/20121107191818.GA16211@us.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <redacted>
---
 tools/perf/perf.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/perf.h b/tools/perf/perf.h
index 0047264..f53ee0b 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"
-- 
1.7.9.2.358.g22243
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help