summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index 7bae4615..51f1ccc9 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -100,7 +100,7 @@ common_probe_entryfn_prologue (translator_output* o, string statestr,
o->newline(1) << "goto probe_epilogue;";
o->indent(-1);
- o->newline() << "c = per_cpu_ptr (contexts, smp_processor_id());";
+ o->newline() << "c = contexts[smp_processor_id()];";
o->newline() << "if (atomic_inc_return (& c->busy) != 1) {";
o->newline(1) << "#if !INTERRUPTIBLE";
o->newline() << "atomic_inc (& skipped_count);";