ramdisk could be loaded high now for 64bit.

So need to print more digits for them.

Signed-off-by: Yinghai Lu <ying...@kernel.org>
Cc: Matt Fleming <matt.flem...@intel.com>
---
 arch/x86/kernel/setup.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index c2eb535..0e13c6e 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -341,7 +341,7 @@ static void __init relocate_initrd(void)
        memblock_reserve(ramdisk_here, area_size);
        initrd_start = ramdisk_here + PAGE_OFFSET;
        initrd_end   = initrd_start + ramdisk_size;
-       printk(KERN_INFO "Allocated new RAMDISK: [mem %#010llx-%#010llx]\n",
+       printk(KERN_INFO "Allocated new RAMDISK: [mem %#018llx-%#018llx]\n",
                         ramdisk_here, ramdisk_here + ramdisk_size - 1);
 
        q = (char *)initrd_start;
@@ -363,8 +363,8 @@ static void __init relocate_initrd(void)
 
        ramdisk_image = get_ramdisk_image();
        ramdisk_size  = get_ramdisk_size();
-       printk(KERN_INFO "Move RAMDISK from [mem %#010llx-%#010llx] to"
-               " [mem %#010llx-%#010llx]\n",
+       printk(KERN_INFO "Move RAMDISK from [mem %#018llx-%#018llx] to"
+               " [mem %#018llx-%#018llx]\n",
                ramdisk_image, ramdisk_image + ramdisk_size - 1,
                ramdisk_here, ramdisk_here + ramdisk_size - 1);
 }
@@ -416,7 +416,7 @@ static void __init reserve_initrd(void)
                       "disabling initrd (%lld needed, %lld available)\n",
                       ramdisk_size, mapped_size>>1);
 
-       printk(KERN_INFO "RAMDISK: [mem %#010llx-%#010llx]\n", ramdisk_image,
+       printk(KERN_INFO "RAMDISK: [mem %#018llx-%#018llx]\n", ramdisk_image,
                        ramdisk_end - 1);
 
        if (pfn_range_is_mapped(PFN_DOWN(ramdisk_image),
-- 
1.7.7

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to