aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/init_32.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-02-12 07:28:43 -0500
committerIngo Molnar <mingo@elte.hu>2009-02-12 09:21:15 -0500
commit3023533de43c5c01c660e1b48d3700b028eb4615 (patch)
treee7836a8c2c207ea80e3ae5f33fcf8e831397e12e /arch/x86/mm/init_32.c
parent89e4b5930d8a59395219e7e3e4702e4653022b93 (diff)
x86: fix warning in find_low_pfn_range()
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm/init_32.c')
-rw-r--r--arch/x86/mm/init_32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c
index d48f2560364f..e77459dd38ae 100644
--- a/arch/x86/mm/init_32.c
+++ b/arch/x86/mm/init_32.c
@@ -722,7 +722,7 @@ void __init find_low_pfn_range(void)
722 highmem_pages = 0; 722 highmem_pages = 0;
723#ifdef CONFIG_HIGHMEM 723#ifdef CONFIG_HIGHMEM
724 if (highmem_pages >= max_pfn) { 724 if (highmem_pages >= max_pfn) {
725 printk(KERN_ERR "highmem size specified (%uMB) is " 725 printk(KERN_ERR "highmem size specified (%luMB) is "
726 "bigger than pages available (%luMB)!.\n", 726 "bigger than pages available (%luMB)!.\n",
727 pages_to_mb(highmem_pages), 727 pages_to_mb(highmem_pages),
728 pages_to_mb(max_pfn)); 728 pages_to_mb(max_pfn));
@@ -731,7 +731,7 @@ void __init find_low_pfn_range(void)
731 if (highmem_pages) { 731 if (highmem_pages) {
732 if (max_low_pfn - highmem_pages < 732 if (max_low_pfn - highmem_pages <
733 64*1024*1024/PAGE_SIZE){ 733 64*1024*1024/PAGE_SIZE){
734 printk(KERN_ERR "highmem size %uMB results in " 734 printk(KERN_ERR "highmem size %luMB results in "
735 "smaller than 64MB lowmem, ignoring it.\n" 735 "smaller than 64MB lowmem, ignoring it.\n"
736 , pages_to_mb(highmem_pages)); 736 , pages_to_mb(highmem_pages));
737 highmem_pages = 0; 737 highmem_pages = 0;