]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/xfs/linux-2.6/xfs_sysctl.c
[PATCH] more for_each_cpu() conversions
[linux-2.6-omap-h63xx.git] / fs / xfs / linux-2.6 / xfs_sysctl.c
index a02564972420b7720c21a3996afcb5d078e2c070..7079cc8372100aa8b2f7a3c3bd95e708a9a11531 100644 (file)
@@ -38,8 +38,7 @@ xfs_stats_clear_proc_handler(
 
        if (!ret && write && *valp) {
                printk("XFS Clearing xfsstats\n");
-               for (c = 0; c < NR_CPUS; c++) {
-                       if (!cpu_possible(c)) continue;
+               for_each_cpu(c) {
                        preempt_disable();
                        /* save vn_active, it's a universal truth! */
                        vn_active = per_cpu(xfsstats, c).vn_active;