aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/e820.c
diff options
context:
space:
mode:
authorPaul Jackson <pj@sgi.com>2008-06-22 10:22:12 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 06:51:37 -0400
commite2fc252e0ce695b4c4abe27bb073c35bd0d73252 (patch)
tree53875bf55b7221d65d568bfad1c4568b2c732d04 /arch/x86/kernel/e820.c
parentc4ba1320b7075e9ce33ad0afaef43ba13260b4c2 (diff)
x86 boot: show pfn addresses in hex not decimal in some kernel info printks
Page frame numbers (the portion of physical addresses above the low order page offsets) are displayed in several kernel debug and info prints in decimal, not hex. Decimal addresse are unreadable. Use hex. Signed-off-by: Paul Jackson <pj@sgi.com> Cc: "Yinghai Lu" <yhlu.kernel@gmail.com> Cc: "Jack Steiner" <steiner@sgi.com> Cc: "Mike Travis" <travis@sgi.com> Cc: "Huang Cc: Ying" <ying.huang@intel.com> Cc: "Andi Kleen" <andi@firstfloor.org> Cc: "Andrew Morton" <akpm@linux-foundation.org> Cc: Paul Jackson <pj@sgi.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/e820.c')
-rw-r--r--arch/x86/kernel/e820.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c
index 600c9de237a0..512f779fc6af 100644
--- a/arch/x86/kernel/e820.c
+++ b/arch/x86/kernel/e820.c
@@ -990,7 +990,7 @@ unsigned long __init e820_end_of_ram(void)
990 if (last_pfn > end_user_pfn) 990 if (last_pfn > end_user_pfn)
991 last_pfn = end_user_pfn; 991 last_pfn = end_user_pfn;
992 992
993 printk(KERN_INFO "last_pfn = %lu max_arch_pfn = %lu\n", 993 printk(KERN_INFO "last_pfn = 0x%lx max_arch_pfn = 0x%lx\n",
994 last_pfn, max_arch_pfn); 994 last_pfn, max_arch_pfn);
995 return last_pfn; 995 return last_pfn;
996} 996}