• Serge Semin's avatar
    mips: Make sure kernel .bss exists in boot mem pool · a703db3d
    Serge Semin authored
    Current MIPS platform code makes sure the kernel text, data and init
    sections are added to the boot memory map pool right after the
    arch-specific memory setup method has been executed. But for some reason
    the MIPS platform code skipped the kernel .bss section, which definitely
    should be in the boot mem pool as well in any case. Lets fix this just be
    adding the space between __bss_start and __bss_stop.
    Reviewed-by: default avatarMatt Redfearn <matt.redfearn@mips.com>
    Signed-off-by: default avatarSerge Semin <fancer.lancer@gmail.com>
    Signed-off-by: default avatarPaul Burton <paul.burton@mips.com>
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Cc: James Hogan <jhogan@kernel.org>
    Cc: Mike Rapoport <rppt@linux.ibm.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Michal Hocko <mhocko@suse.com>
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: Thomas Bogendoerfer <tbogendoerfer@suse.de>
    Cc: Huacai Chen <chenhc@lemote.com>
    Cc: Stefan Agner <stefan@agner.ch>
    Cc: Stephen Rothwell <sfr@canb.auug.org.au>
    Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
    Cc: Juergen Gross <jgross@suse.com>
    Cc: linux-mips@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    a703db3d
setup.c 25.7 KB