summaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/init_32.c
diff options
context:
space:
mode:
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>2009-02-11 17:56:52 +0100
committerIngo Molnar <mingo@elte.hu>2009-02-11 21:00:47 +0100
commit7651194fb715b2d57658c05a710408f6b8448951 (patch)
tree1a786859a9c1de85105bbf81efe9b78f59a2fab7 /arch/x86/mm/init_32.c
parentx86, pgtable.h: fix 2-level 32-bit build (diff)
downloadlinux-7651194fb715b2d57658c05a710408f6b8448951.tar.xz
linux-7651194fb715b2d57658c05a710408f6b8448951.zip
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.c2
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)
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;