From 8a13c2192e228fe87a57b657c54abb7a0cc36c12 Mon Sep 17 00:00:00 2001 From: John Hawkes Date: Sat, 29 Oct 2005 18:17:01 -0700 Subject: [PATCH] --- yaml --- r: 11398 b: refs/heads/master c: 2f96996de0eda378df2a5f857ee1ef615ae10a4f h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/mm/page_alloc.c | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index d33d820a662e..feff4cba7a3f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5fcbb23050936d69de8087d4b311eaf55cb42740 +refs/heads/master: 2f96996de0eda378df2a5f857ee1ef615ae10a4f diff --git a/trunk/mm/page_alloc.c b/trunk/mm/page_alloc.c index 183abf39b445..2dbdd98426fd 100644 --- a/trunk/mm/page_alloc.c +++ b/trunk/mm/page_alloc.c @@ -1331,12 +1331,9 @@ void show_free_areas(void) } else printk("\n"); - for (cpu = 0; cpu < NR_CPUS; ++cpu) { + for_each_cpu(cpu) { struct per_cpu_pageset *pageset; - if (!cpu_possible(cpu)) - continue; - pageset = zone_pcp(zone, cpu); for (temperature = 0; temperature < 2; temperature++)