powerpc/perf: Use uapi/unistd.h to fix build error
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Wed, 31 Oct 2012 18:21:28 +0000 (11:21 -0700)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 15 Nov 2012 02:01:01 +0000 (13:01 +1100)
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>
tools/perf/perf.h

index 276287783a03759af243ff3d55c3b848cd357d3f..d4960c3834e7c55c0cb97ba31d3689cc202b81e9 100644 (file)
@@ -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"