perf_events: Update the context time on exit
[safe/jmp/linux-2.6] / kernel / fork.c
index 4c20fff..166b8c4 100644 (file)
@@ -91,7 +91,7 @@ int nr_processes(void)
        int cpu;
        int total = 0;
 
-       for_each_online_cpu(cpu)
+       for_each_possible_cpu(cpu)
                total += per_cpu(process_counts, cpu);
 
        return total;