提交 77626081 编写于 作者: D David Miller 提交者: Arnaldo Carvalho de Melo

perf tools: Fix build on sparc.

More UAPI stuff.
Signed-off-by: NDavid 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.netSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
上级 f8de2885
...@@ -57,7 +57,7 @@ void get_term_dimensions(struct winsize *ws); ...@@ -57,7 +57,7 @@ void get_term_dimensions(struct winsize *ws);
#endif #endif
#ifdef __sparc__ #ifdef __sparc__
#include "../../arch/sparc/include/asm/unistd.h" #include "../../arch/sparc/include/uapi/asm/unistd.h"
#define rmb() asm volatile("":::"memory") #define rmb() asm volatile("":::"memory")
#define cpu_relax() asm volatile("":::"memory") #define cpu_relax() asm volatile("":::"memory")
#define CPUINFO_PROC "cpu" #define CPUINFO_PROC "cpu"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册