summaryrefslogtreecommitdiffstats
path: root/init/version.c
diff options
context:
space:
mode:
authorMike Rapoport2018-09-10 11:23:18 +0200
committerPaul Burton2018-09-14 21:37:28 +0200
commitbcec54bf3118a26422cd83675cb461ef4dea81ef (patch)
tree8cd7e85d79392d0c3379086e2ab6ace7fd839a54 /init/version.c
parentMIPS: pci-rt2880: set pci controller of_node (diff)
downloadkernel-qcow2-linux-bcec54bf3118a26422cd83675cb461ef4dea81ef.tar.gz
kernel-qcow2-linux-bcec54bf3118a26422cd83675cb461ef4dea81ef.tar.xz
kernel-qcow2-linux-bcec54bf3118a26422cd83675cb461ef4dea81ef.zip
mips: switch to NO_BOOTMEM
MIPS already has memblock support and all the memory is already registered with it. This patch replaces bootmem memory reservations with memblock ones and removes the bootmem initialization. Since memblock allocates memory in top-down mode, we ensure that memblock limit is max_low_pfn to prevent allocations from the high memory. To have the exceptions base in the lower 512M of the physical memory, its allocation in arch/mips/kernel/traps.c::traps_init() is using bottom-up mode. Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Paul Burton <paul.burton@mips.com> Patchwork: https://patchwork.linux-mips.org/patch/20560/ Cc: Serge Semin <fancer.lancer@gmail.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: Huacai Chen <chenhc@lemote.com> Cc: Michal Hocko <mhocko@kernel.org> Cc: linux-mips@linux-mips.org Cc: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'init/version.c')
0 files changed, 0 insertions, 0 deletions