• Paul Jackson's avatar
    mm, generic, x86 boot: more tweaks to hex prints of some pfn addresses · 5dab8ec1
    Paul Jackson authored
    Fix some problems with (and applies on top of) a previous patch:
      x86 boot: show pfn addresses in hex not decimal in some kernel info printks
    
    Primarily change "0x%8lx" format, which displays with a right aligned
    space filled hex number (spaces between the "0x" prefix and the number),
    into "%0#10lx" format, which zero fills instead of space fills, and
    which uses the printf flag '#' to request the "0x" prefix instead of
    hard coding it.
    
    Also replace some other "0x%lx" formats with "%#lx", making use of the
    '#' printf flag again.
    Signed-off-by: default avatarPaul 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: default avatarIngo Molnar <mingo@elte.hu>
    5dab8ec1
e820.c 32.1 KB