• Bernhard Walle's avatar
    kexec: add BSS to resource tree · 00bf4098
    Bernhard Walle authored
    Add the BSS to the resource tree just as kernel text and kernel data are in
    the resource tree.  The main reason behind this is to avoid crashkernel
    reservation in that area.
    
    While it's not strictly necessary to have the BSS in the resource tree (the
    actual collision detection is done in the reserve_bootmem() function before),
    the usage of the BSS resource should be presented to the user in /proc/iomem
    just as Kernel data and Kernel code.
    
    Note: The patch currently is only implemented for x86 and ia64 (because
    efi_initialize_iomem_resources() has the same signature on i386 and ia64).
    
    [akpm@linux-foundation.org: coding-style fixes]
    Signed-off-by: default avatarBernhard Walle <bwalle@suse.de>
    Cc: "Eric W. Biederman" <ebiederm@xmission.com>
    Cc: Vivek Goyal <vgoyal@in.ibm.com>
    Cc: <linux-arch@vger.kernel.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    00bf4098
efi_32.c 19.4 KB