diff options
author | Tim Moore <timoore@redhat.com> | 2009-12-03 23:48:34 +0100 |
---|---|---|
committer | Tim Moore <timoore@redhat.com> | 2009-12-03 23:48:34 +0100 |
commit | 388924acea820c7a1328eb2ac8a4128437853c3a (patch) | |
tree | 20b7c30a6fa8707ee7d0932f3ef2811e9ded104f /tapsets.cxx | |
parent | 457a91c061a1658648fc155504795bf6f4c44740 (diff) | |
parent | 5cd2f827aa03091c7d1832c9734827d8caff732d (diff) | |
download | systemtap-steved-388924acea820c7a1328eb2ac8a4128437853c3a.tar.gz systemtap-steved-388924acea820c7a1328eb2ac8a4128437853c3a.tar.xz systemtap-steved-388924acea820c7a1328eb2ac8a4128437853c3a.zip |
Merge commit 'origin/master'
Diffstat (limited to 'tapsets.cxx')
-rw-r--r-- | tapsets.cxx | 2 |
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);"; |