]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: fix virtual address overlapped in FIXADDR_START and VMEMMAP_START
authorGreentime Hu <greentime.hu@sifive.com>
Tue, 8 Oct 2019 06:45:24 +0000 (14:45 +0800)
committerPaul Walmsley <paul.walmsley@sifive.com>
Wed, 16 Oct 2019 05:47:41 +0000 (22:47 -0700)
commit695ab7cda296023eea018f88e291d98647e0e1cc
tree554276d0555bb7abd6a7174dc254d8c0cdc1d1f5
parentcf1cc66effadb265379ff750e8643a6841c03554
RISC-V: fix virtual address overlapped in FIXADDR_START and VMEMMAP_START

This patch fixes the virtual address layout in pgtable.h.  The virtual
address of FIXADDR_START and VMEMMAP_START should not be overlapped.

Fixes: dd6424c83fa7 ("RISC-V: Implement sparsemem")
Signed-off-by: Greentime Hu <greentime.hu@sifive.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
[paul.walmsley@sifive.com: fixed patch description]
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
arch/riscv/include/asm/pgtable.h