Commit e0202f56 authored by Ingo Molnar's avatar Ingo Molnar

perf_counter tools: fix x86 syscall numbers

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment