aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/discontig_32.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-06-16 19:11:08 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 04:38:19 -0400
commitcc9f7a0ccf000d4db5fbdc7b0ae48eefea102f69 (patch)
tree582125558bf4975446ae76f35b297bf4ce864bc1 /arch/x86/mm/discontig_32.c
parent41c094fd3ca54f1a71233049cf136ff94c91f4ae (diff)
x86: kill bad_ppro
so don't punish all other cpus without that problem when init highmem Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm/discontig_32.c')
-rw-r--r--arch/x86/mm/discontig_32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mm/discontig_32.c b/arch/x86/mm/discontig_32.c
index 7c4d0255f8d8..6216e43b6e95 100644
--- a/arch/x86/mm/discontig_32.c
+++ b/arch/x86/mm/discontig_32.c
@@ -427,7 +427,7 @@ void __init zone_sizes_init(void)
427 return; 427 return;
428} 428}
429 429
430void __init set_highmem_pages_init(int bad_ppro) 430void __init set_highmem_pages_init(void)
431{ 431{
432#ifdef CONFIG_HIGHMEM 432#ifdef CONFIG_HIGHMEM
433 struct zone *zone; 433 struct zone *zone;
@@ -447,7 +447,7 @@ void __init set_highmem_pages_init(int bad_ppro)
447 zone->name, nid, zone_start_pfn, zone_end_pfn); 447 zone->name, nid, zone_start_pfn, zone_end_pfn);
448 448
449 add_highpages_with_active_regions(nid, zone_start_pfn, 449 add_highpages_with_active_regions(nid, zone_start_pfn,
450 zone_end_pfn, bad_ppro); 450 zone_end_pfn);
451 } 451 }
452 totalram_pages += totalhigh_pages; 452 totalram_pages += totalhigh_pages;
453#endif 453#endif