From 024046574ebea53d98d12b7b5dbe159c430d0e2b Mon Sep 17 00:00:00 2001 From: Yinghai Lu Date: Wed, 4 Mar 2009 12:21:24 -0800 Subject: [PATCH] --- yaml --- r: 138663 b: refs/heads/master c: fc5efe3941c47c0278fe1bbcf8cc02a03a74fcda h: refs/heads/master i: 138661: a8a6cfb50d087e334221ad17770af3cdb830b697 138659: c2fd2e44ae9b98a0bb3e9b3444af3f762a307428 138655: 8ee083f86a02bb800942260a59f139a4490a32cd v: v3 --- [refs] | 2 +- trunk/arch/x86/mm/init_32.c | 16 +++------------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/[refs] b/[refs] index d92b8201d7ce..ed7521dc4e51 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 731ddea63600c24ff01e6e5144cea88bf7266ac5 +refs/heads/master: fc5efe3941c47c0278fe1bbcf8cc02a03a74fcda diff --git a/trunk/arch/x86/mm/init_32.c b/trunk/arch/x86/mm/init_32.c index c69c6b1f5e55..c351456d06dc 100644 --- a/trunk/arch/x86/mm/init_32.c +++ b/trunk/arch/x86/mm/init_32.c @@ -776,7 +776,6 @@ static void __init zone_sizes_init(void) free_area_init_nodes(max_zone_pfns); } -#ifdef CONFIG_NEED_MULTIPLE_NODES static unsigned long __init setup_node_bootmem(int nodeid, unsigned long start_pfn, unsigned long end_pfn, @@ -802,7 +801,6 @@ static unsigned long __init setup_node_bootmem(int nodeid, return bootmap + bootmap_size; } -#endif void __init setup_bootmem_allocator(void) { @@ -812,8 +810,7 @@ void __init setup_bootmem_allocator(void) * Initialize the boot-time allocator (with low memory only): */ bootmap_size = bootmem_bootmap_pages(max_low_pfn)<> PAGE_SHIFT, - min_low_pfn, max_low_pfn); - printk(KERN_INFO " bootmap %08lx - %08lx\n", - bootmap, bootmap + bootmap_size); - free_bootmem_with_active_regions(0, max_low_pfn); - early_res_to_bootmem(0, max_low_pfn<