diff options
author | Wenji Huang <wenji.huang@oracle.com> | 2008-11-17 00:06:59 -0500 |
---|---|---|
committer | Wenji Huang <wenji.huang@oracle.com> | 2008-11-17 00:06:59 -0500 |
commit | a6ce170764b0ec75d3ddbca20823b2a951a225d2 (patch) | |
tree | 8e1534f74dfb3cd53305a71c4ec07f1fd71da706 /runtime/map-stat.c | |
parent | b3e8f644958f5033beebeb91edf11d5edf21c8c1 (diff) | |
download | systemtap-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.c | 4 |
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; |