Commit 7651194f authored by Jaswinder Singh Rajput's avatar Jaswinder Singh Rajput Committed by Ingo Molnar

x86: mm/init_32.c fix compilation warning

 arch/x86/mm/init_32.c: In function ‘find_low_pfn_range’:
 arch/x86/mm/init_32.c:696: warning: format ‘%u’ expects type ‘unsigned int’, but
Signed-off-by: default avatarJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent c47c1b1f
...@@ -692,7 +692,7 @@ void __init find_low_pfn_range(void) ...@@ -692,7 +692,7 @@ void __init find_low_pfn_range(void)
max_pfn = MAXMEM_PFN + highmem_pages; max_pfn = MAXMEM_PFN + highmem_pages;
if (highmem_pages + MAXMEM_PFN > max_pfn) { if (highmem_pages + MAXMEM_PFN > max_pfn) {
printk(KERN_WARNING "only %luMB highmem pages " printk(KERN_WARNING "only %luMB highmem pages "
"available, ignoring highmem size of %uMB.\n", "available, ignoring highmem size of %luMB.\n",
pages_to_mb(max_pfn - MAXMEM_PFN), pages_to_mb(max_pfn - MAXMEM_PFN),
pages_to_mb(highmem_pages)); pages_to_mb(highmem_pages));
highmem_pages = 0; highmem_pages = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment