Skip to contentSkip to conversation

perf: powerpc: Use uapi/unistd.h to fix build error

PATCH New Sukadev Bhattiprolu 1 participant 1 message Nov 2, 2012 perf events

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf: powerpc: Use uapi/unistd.h to fix build error

From: Sukadev Bhattiprolu <[email protected]>
Date: Wed, 31 Oct 2012 11:21:28 -0700
Subject: [PATCH] perf: powerpc: Use uapi/unistd.h to fix build error

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

---
 tools/perf/perf.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
tools/perf/perf.h +1 -1
index 054182e..f4952da 100644
@@ -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"
Signature · 1 line
1.7.1