diff options
author | Jaswinder Singh Rajput <jaswinderrajput@gmail.com> | 2009-02-11 11:56:52 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-11 15:00:47 -0500 |
commit | 7651194fb715b2d57658c05a710408f6b8448951 (patch) | |
tree | 1a786859a9c1de85105bbf81efe9b78f59a2fab7 /arch/x86/mm/init_32.c | |
parent | c47c1b1f3a9d6973108020df1dcab7604f7774dd (diff) |
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>
Diffstat (limited to 'arch/x86/mm/init_32.c')
-rw-r--r-- | arch/x86/mm/init_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c index 2cef05074413..d48f2560364f 100644 --- a/arch/x86/mm/init_32.c +++ b/arch/x86/mm/init_32.c | |||
@@ -692,7 +692,7 @@ void __init find_low_pfn_range(void) | |||
692 | max_pfn = MAXMEM_PFN + highmem_pages; | 692 | max_pfn = MAXMEM_PFN + highmem_pages; |
693 | if (highmem_pages + MAXMEM_PFN > max_pfn) { | 693 | if (highmem_pages + MAXMEM_PFN > max_pfn) { |
694 | printk(KERN_WARNING "only %luMB highmem pages " | 694 | printk(KERN_WARNING "only %luMB highmem pages " |
695 | "available, ignoring highmem size of %uMB.\n", | 695 | "available, ignoring highmem size of %luMB.\n", |
696 | pages_to_mb(max_pfn - MAXMEM_PFN), | 696 | pages_to_mb(max_pfn - MAXMEM_PFN), |
697 | pages_to_mb(highmem_pages)); | 697 | pages_to_mb(highmem_pages)); |
698 | highmem_pages = 0; | 698 | highmem_pages = 0; |