perf build-id: Fix coding style, replace 8 spaces by tabs
[linux-2.6-microblaze.git] / mm / vmstat.c
index da525bf..373d273 100644 (file)
@@ -2049,7 +2049,7 @@ static void __init init_cpu_node_state(void)
        int node;
 
        for_each_online_node(node) {
-               if (cpumask_weight(cpumask_of_node(node)) > 0)
+               if (!cpumask_empty(cpumask_of_node(node)))
                        node_set_state(node, N_CPU);
        }
 }
@@ -2081,7 +2081,7 @@ static int vmstat_cpu_dead(unsigned int cpu)
 
        refresh_zone_stat_thresholds();
        node_cpus = cpumask_of_node(node);
-       if (cpumask_weight(node_cpus) > 0)
+       if (!cpumask_empty(node_cpus))
                return 0;
 
        node_clear_state(node, N_CPU);