Skip to content

Commit

Permalink
x86: fix warning in find_low_pfn_range()
Browse files Browse the repository at this point in the history
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Feb 12, 2009
1 parent 89e4b59 commit 3023533
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/x86/mm/init_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ void __init find_low_pfn_range(void)
highmem_pages = 0;
#ifdef CONFIG_HIGHMEM
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",
pages_to_mb(highmem_pages),
pages_to_mb(max_pfn));
Expand All @@ -731,7 +731,7 @@ void __init find_low_pfn_range(void)
if (highmem_pages) {
if (max_low_pfn - highmem_pages <
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"
, pages_to_mb(highmem_pages));
highmem_pages = 0;
Expand Down

0 comments on commit 3023533

Please sign in to comment.