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/transport/procfs.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/transport/procfs.c')
-rw-r--r-- | runtime/transport/procfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/transport/procfs.c b/runtime/transport/procfs.c index e0ecd9b3..ca33e0fd 100644 --- a/runtime/transport/procfs.c +++ b/runtime/transport/procfs.c @@ -328,7 +328,7 @@ static int _stp_register_ctl_channel(void) #ifdef STP_BULKMODE /* now for each cpu "n", create /proc/systemtap/module_name/n */ - for_each_cpu(i) { + stp_for_each_cpu(i) { sprintf(buf, "%d", i); de = create_proc_entry(buf, 0600, _stp_proc_root); if (de == NULL) @@ -361,7 +361,7 @@ err1: #ifdef STP_BULKMODE for (de = _stp_proc_root->subdir; de; de = de->next) _stp_kfree(de->data); - for_each_cpu(j) { + stp_for_each_cpu(j) { if (j == i) break; sprintf(buf, "%d", j); @@ -389,7 +389,7 @@ static void _stp_unregister_ctl_channel(void) for (de = _stp_proc_root->subdir; de; de = de->next) _stp_kfree(de->data); - for_each_cpu(i) { + stp_for_each_cpu(i) { sprintf(buf, "%d", i); remove_proc_entry(buf, _stp_proc_root); } |