From: David Miller Date: Wed, 17 Oct 2012 05:06:56 +0000 (-0400) Subject: perf tools: Fix build on sparc. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=77626081849c9050b20670e5d832aca54c966936;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git perf tools: Fix build on sparc. More UAPI stuff. Signed-off-by: David S. Miller Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/20121017.010656.383828471689899431.davem@davemloft.net Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/perf.h b/tools/perf/perf.h index 87f4ec6d1f3..8421c20a25f 100644 --- a/tools/perf/perf.h +++ b/tools/perf/perf.h @@ -57,7 +57,7 @@ void get_term_dimensions(struct winsize *ws); #endif #ifdef __sparc__ -#include "../../arch/sparc/include/asm/unistd.h" +#include "../../arch/sparc/include/uapi/asm/unistd.h" #define rmb() asm volatile("":::"memory") #define cpu_relax() asm volatile("":::"memory") #define CPUINFO_PROC "cpu"