forked from luck/tmp_suning_uos_patched
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: Jaswinder Singh Rajput <jaswinderrajput@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
c47c1b1f3a
commit
7651194fb7
@ -692,7 +692,7 @@ void __init find_low_pfn_range(void)
|
||||
max_pfn = MAXMEM_PFN + highmem_pages;
|
||||
if (highmem_pages + MAXMEM_PFN > max_pfn) {
|
||||
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(highmem_pages));
|
||||
highmem_pages = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user