aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/mm/discontig.c
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>2006-03-27 04:15:59 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-27 11:44:48 -0500
commitec936fc563715a9e2b2e363eb060655b49529325 (patch)
tree72e77aefeeda3c6ff396f080a5c6a82f25d52bf0 /arch/ia64/mm/discontig.c
parent679bc9fbb508a0aac9539b2de747eb5849feb428 (diff)
[PATCH] for_each_online_pgdat: renaming for_each_pgdat
Replace for_each_pgdat() with for_each_online_pgdat(). Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ia64/mm/discontig.c')
-rw-r--r--arch/ia64/mm/discontig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/mm/discontig.c b/arch/ia64/mm/discontig.c
index 2f5e44862e91..384f1d7dce96 100644
--- a/arch/ia64/mm/discontig.c
+++ b/arch/ia64/mm/discontig.c
@@ -386,7 +386,7 @@ static void __init pgdat_insert(pg_data_t *pgdat)
386{ 386{
387 pg_data_t *prev = NULL, *next; 387 pg_data_t *prev = NULL, *next;
388 388
389 for_each_pgdat(next) 389 for_each_online_pgdat(next)
390 if (pgdat->node_id < next->node_id) 390 if (pgdat->node_id < next->node_id)
391 break; 391 break;
392 else 392 else
@@ -560,7 +560,7 @@ void show_mem(void)
560 printk("Mem-info:\n"); 560 printk("Mem-info:\n");
561 show_free_areas(); 561 show_free_areas();
562 printk("Free swap: %6ldkB\n", nr_swap_pages<<(PAGE_SHIFT-10)); 562 printk("Free swap: %6ldkB\n", nr_swap_pages<<(PAGE_SHIFT-10));
563 for_each_pgdat(pgdat) { 563 for_each_online_pgdat(pgdat) {
564 unsigned long present; 564 unsigned long present;
565 unsigned long flags; 565 unsigned long flags;
566 int shared = 0, cached = 0, reserved = 0; 566 int shared = 0, cached = 0, reserved = 0;