aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.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 /mm/page_alloc.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 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index e25b6b24f844..c09c2c8d2c6a 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -3520,7 +3520,7 @@ void __init add_active_range(unsigned int nid, unsigned long start_pfn,
3520{ 3520{
3521 int i; 3521 int i;
3522 3522
3523 printk(KERN_DEBUG "Entering add_active_range(%d, %lu, %lu) " 3523 printk(KERN_DEBUG "Entering add_active_range(%d, 0x%lx, 0x%lx) "
3524 "%d entries of %d used\n", 3524 "%d entries of %d used\n",
3525 nid, start_pfn, end_pfn, 3525 nid, start_pfn, end_pfn,
3526 nr_nodemap_entries, MAX_ACTIVE_REGIONS); 3526 nr_nodemap_entries, MAX_ACTIVE_REGIONS);
@@ -3936,7 +3936,7 @@ void __init free_area_init_nodes(unsigned long *max_zone_pfn)
3936 for (i = 0; i < MAX_NR_ZONES; i++) { 3936 for (i = 0; i < MAX_NR_ZONES; i++) {
3937 if (i == ZONE_MOVABLE) 3937 if (i == ZONE_MOVABLE)
3938 continue; 3938 continue;
3939 printk(" %-8s %8lu -> %8lu\n", 3939 printk(" %-8s 0x%8lx -> 0x%8lx\n",
3940 zone_names[i], 3940 zone_names[i],
3941 arch_zone_lowest_possible_pfn[i], 3941 arch_zone_lowest_possible_pfn[i],
3942 arch_zone_highest_possible_pfn[i]); 3942 arch_zone_highest_possible_pfn[i]);
@@ -3952,7 +3952,7 @@ void __init free_area_init_nodes(unsigned long *max_zone_pfn)
3952 /* Print out the early_node_map[] */ 3952 /* Print out the early_node_map[] */
3953 printk("early_node_map[%d] active PFN ranges\n", nr_nodemap_entries); 3953 printk("early_node_map[%d] active PFN ranges\n", nr_nodemap_entries);
3954 for (i = 0; i < nr_nodemap_entries; i++) 3954 for (i = 0; i < nr_nodemap_entries; i++)
3955 printk(" %3d: %8lu -> %8lu\n", early_node_map[i].nid, 3955 printk(" %3d: 0x%8lx -> 0x%8lx\n", early_node_map[i].nid,
3956 early_node_map[i].start_pfn, 3956 early_node_map[i].start_pfn,
3957 early_node_map[i].end_pfn); 3957 early_node_map[i].end_pfn);
3958 3958