Don't print per-cpu vm stats for offline cpus.

Dave Jones
2005-11-10T20:46:04Z

I just hit a page allocation error on a kernel configured to support
64 CPUs. It spewed 60 completely useless unnecessary lines of info.

Signed-off-by: Dave Jones <davej@redhat.com>

--- linux-2.6.14/mm/page_alloc.c~ 2005-11-10 15:42:52.000000000 -0500
+++ linux-2.6.14/mm/page_alloc.c 2005-11-10 15:43:16.000000000 -0500
@@ -1330,7 +1330,7 @@ void show_free_areas(void)
} else
printk("\n");

- for_each_cpu(cpu) {
+ for_each_online_cpu(cpu) {
struct per_cpu_pageset *pageset;

pageset = zone_pcp(zone, cpu);