aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/perf_counter/builtin-stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/perf_counter/builtin-stat.c')
-rw-r--r--Documentation/perf_counter/builtin-stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/perf_counter/builtin-stat.c b/Documentation/perf_counter/builtin-stat.c
index 1fde12762ca4..9fbc66173de7 100644
--- a/Documentation/perf_counter/builtin-stat.c
+++ b/Documentation/perf_counter/builtin-stat.c
@@ -108,13 +108,13 @@
108#define asmlinkage 108#define asmlinkage
109 109
110#ifdef __x86_64__ 110#ifdef __x86_64__
111#define __NR_perf_counter_open 295 111#define __NR_perf_counter_open 298
112#define rmb() asm volatile("lfence" ::: "memory") 112#define rmb() asm volatile("lfence" ::: "memory")
113#define cpu_relax() asm volatile("rep; nop" ::: "memory"); 113#define cpu_relax() asm volatile("rep; nop" ::: "memory");
114#endif 114#endif
115 115
116#ifdef __i386__ 116#ifdef __i386__
117#define __NR_perf_counter_open 333 117#define __NR_perf_counter_open 336
118#define rmb() asm volatile("lfence" ::: "memory") 118#define rmb() asm volatile("lfence" ::: "memory")
119#define cpu_relax() asm volatile("rep; nop" ::: "memory"); 119#define cpu_relax() asm volatile("rep; nop" ::: "memory");
120#endif 120#endif