x86: fix warning in find_low_pfn_range()

Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Ingo Molnar 2009-02-12 13:28:43 +01:00
parent 89e4b5930d
commit 3023533de4
1 changed files with 2 additions and 2 deletions

View File

@ -722,7 +722,7 @@ void __init find_low_pfn_range(void)
highmem_pages = 0; highmem_pages = 0;
#ifdef CONFIG_HIGHMEM #ifdef CONFIG_HIGHMEM
if (highmem_pages >= max_pfn) { if (highmem_pages >= max_pfn) {
printk(KERN_ERR "highmem size specified (%uMB) is " printk(KERN_ERR "highmem size specified (%luMB) is "
"bigger than pages available (%luMB)!.\n", "bigger than pages available (%luMB)!.\n",
pages_to_mb(highmem_pages), pages_to_mb(highmem_pages),
pages_to_mb(max_pfn)); pages_to_mb(max_pfn));
@ -731,7 +731,7 @@ void __init find_low_pfn_range(void)
if (highmem_pages) { if (highmem_pages) {
if (max_low_pfn - highmem_pages < if (max_low_pfn - highmem_pages <
64*1024*1024/PAGE_SIZE){ 64*1024*1024/PAGE_SIZE){
printk(KERN_ERR "highmem size %uMB results in " printk(KERN_ERR "highmem size %luMB results in "
"smaller than 64MB lowmem, ignoring it.\n" "smaller than 64MB lowmem, ignoring it.\n"
, pages_to_mb(highmem_pages)); , pages_to_mb(highmem_pages));
highmem_pages = 0; highmem_pages = 0;