• Bjorn Helgaas's avatar
    x86: print e820 physical addresses consistently with other parts of kernel · 91eb0f67
    Bjorn Helgaas authored
    Print physical address info in a style consistent with the %pR style used
    elsewhere in the kernel.  For example:
    
        -BIOS-provided physical RAM map:
        +e820: BIOS-provided physical RAM map:
        - BIOS-e820: 0000000000000100 - 000000000009e000 (usable)
        +BIOS-e820: [mem 0x0000000000000100-0x000000000009dfff] usable
        -Allocating PCI resources starting at 90000000 (gap: 90000000:6ed1c000)
        +e820: [mem 0x90000000-0xfed1bfff] available for PCI devices
        -reserve RAM buffer: 000000000009e000 - 000000000009ffff
        +e820: reserve RAM buffer [mem 0x0009e000-0x0009ffff]
    Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
    Cc: Yinghai Lu <yinghai@kernel.org>
    Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    91eb0f67
e820.c 27.8 KB