Skip to content

Commit

Permalink
perf tools: Fix build on sparc.
Browse files Browse the repository at this point in the history
More UAPI stuff.

Signed-off-by: David S. Miller <davem@davemloft.net>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20121017.010656.383828471689899431.davem@davemloft.net
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
  • Loading branch information
David Miller authored and Arnaldo Carvalho de Melo committed Oct 17, 2012
1 parent f8de288 commit 7762608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/perf/perf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7762608

Please sign in to comment.