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)
commit5bf4e52ff0317db083fafee010dc806f8d4cb0cb
tree554276d0555bb7abd6a7174dc254d8c0cdc1d1f5
parent4c8eb19cf9dc5fcc489757acbf93be90baf25848
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: d95f1a542c3d ("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