]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
perf powerpc: 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)
committerDavid Howells <dhowells@redhat.com>
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 <sukadev@linux.vnet.ibm.com>
Acked-by: David Howells <dhowells@redhat.com>
Cc: Anton Blanchard <anton@au1.ibm.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Robert Richter <robert.richter@amd.com>
Cc: linuxppc-dev@ozlabs.org
Link: http://lkml.kernel.org/r/20121107191818.GA16211@us.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/perf.h

index c50985eaec41f479d2593dab749d061d3cb03c3d..e2ba8f004d32826e57f776b71377f053052bd5dd 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"