summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-12-02 16:41:11 -0500
committerDave Brolley <brolley@redhat.com>2009-12-02 16:41:11 -0500
commit6bb613f9be856632dec47cab4b27a7fe92c2fe64 (patch)
tree76e778645ea20df5fd89981994ee249fc760d4f5 /tapsets.cxx
parent5d4ea4cc1d1f7531fb0ff4d0498957e0333a61eb (diff)
parent4a0ae64c47b159d4dd0ea471f1f8044503843a7f (diff)
downloadsystemtap-steved-6bb613f9be856632dec47cab4b27a7fe92c2fe64.tar.gz
systemtap-steved-6bb613f9be856632dec47cab4b27a7fe92c2fe64.tar.xz
systemtap-steved-6bb613f9be856632dec47cab4b27a7fe92c2fe64.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
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);";