summaryrefslogtreecommitdiffstats
path: root/arch/riscv/mm/hugetlbpage.c
diff options
context:
space:
mode:
authorAnup Patel <Anup.Patel@wdc.com>2019-06-07 06:01:29 +0000
committerPaul Walmsley <paul.walmsley@sifive.com>2019-07-01 13:24:53 -0700
commitd90d45d7dcb732f0d4fbb3b99164ae54999612d5 (patch)
treed27cd084d87a9d5ec813eb39b4c01e6bbb587de7 /arch/riscv/mm/hugetlbpage.c
parentbbc5dc5155aad9ba50eeda955c591549d761c1db (diff)
downloadlinux-d90d45d7dcb732f0d4fbb3b99164ae54999612d5.tar.gz
linux-d90d45d7dcb732f0d4fbb3b99164ae54999612d5.tar.bz2
linux-d90d45d7dcb732f0d4fbb3b99164ae54999612d5.zip
RISC-V: Fix memory reservation in setup_bootmem()
Currently, the setup_bootmem() reserves memory from RAM start to the kernel end. This prevents us from exploring ways to use the RAM below (or before) the kernel start hence this patch updates setup_bootmem() to only reserve memory from the kernel start to the kernel end. Suggested-by: Mike Rapoport <rppt@linux.ibm.com> Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Diffstat (limited to 'arch/riscv/mm/hugetlbpage.c')
0 files changed, 0 insertions, 0 deletions