提交 e0202f56 编写于 作者: I Ingo Molnar

perf_counter tools: fix x86 syscall numbers

Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 e5791a80
......@@ -57,13 +57,13 @@
#define asmlinkage
#ifdef __x86_64__
#define __NR_perf_counter_open 295
#define __NR_perf_counter_open 298
#define rmb() asm volatile("lfence" ::: "memory")
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
#endif
#ifdef __i386__
#define __NR_perf_counter_open 333
#define __NR_perf_counter_open 336
#define rmb() asm volatile("lfence" ::: "memory")
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
#endif
......
......@@ -108,13 +108,13 @@
#define asmlinkage
#ifdef __x86_64__
#define __NR_perf_counter_open 295
#define __NR_perf_counter_open 298
#define rmb() asm volatile("lfence" ::: "memory")
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
#endif
#ifdef __i386__
#define __NR_perf_counter_open 333
#define __NR_perf_counter_open 336
#define rmb() asm volatile("lfence" ::: "memory")
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
#endif
......
......@@ -89,13 +89,13 @@
#define asmlinkage
#ifdef __x86_64__
#define __NR_perf_counter_open 295
#define __NR_perf_counter_open 298
#define rmb() asm volatile("lfence" ::: "memory")
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
#endif
#ifdef __i386__
#define __NR_perf_counter_open 333
#define __NR_perf_counter_open 336
#define rmb() asm volatile("lfence" ::: "memory")
#define cpu_relax() asm volatile("rep; nop" ::: "memory");
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册