summaryrefslogtreecommitdiffstats
path: root/runtime/map-stat.c
diff options
context:
space:
mode:
authorWenji Huang <wenji.huang@oracle.com>2008-11-17 00:06:59 -0500
committerWenji Huang <wenji.huang@oracle.com>2008-11-17 00:06:59 -0500
commita6ce170764b0ec75d3ddbca20823b2a951a225d2 (patch)
tree8e1534f74dfb3cd53305a71c4ec07f1fd71da706 /runtime/map-stat.c
parentb3e8f644958f5033beebeb91edf11d5edf21c8c1 (diff)
downloadsystemtap-steved-a6ce170764b0ec75d3ddbca20823b2a951a225d2.tar.gz
systemtap-steved-a6ce170764b0ec75d3ddbca20823b2a951a225d2.tar.xz
systemtap-steved-a6ce170764b0ec75d3ddbca20823b2a951a225d2.zip
Fix the conflicted for_each_cpu macro with 2.6.28.
Diffstat (limited to 'runtime/map-stat.c')
-rw-r--r--runtime/map-stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/map-stat.c b/runtime/map-stat.c
index dc3fd6ac..c557d18a 100644
--- a/runtime/map-stat.c
+++ b/runtime/map-stat.c
@@ -68,7 +68,7 @@ static PMAP _stp_pmap_new_hstat_linear (unsigned max_entries, int ksize, int sta
if (pmap) {
int i;
MAP m;
- for_each_cpu(i) {
+ stp_for_each_cpu(i) {
m = (MAP)per_cpu_ptr (pmap->map, i);
m->hist.type = HIST_LINEAR;
m->hist.start = start;
@@ -95,7 +95,7 @@ static PMAP _stp_pmap_new_hstat_log (unsigned max_entries, int key_size)
if (pmap) {
int i;
MAP m;
- for_each_cpu(i) {
+ stp_for_each_cpu(i) {
m = (MAP)per_cpu_ptr (pmap->map, i);
m->hist.type = HIST_LOG;
m->hist.buckets = HIST_LOG_BUCKETS;