]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: Fix print_vm_layout build error if NOMMU
authorKefeng Wang <wangkefeng.wang@huawei.com>
Thu, 14 May 2020 11:53:35 +0000 (19:53 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Wed, 20 May 2020 22:45:19 +0000 (15:45 -0700)
commit04da10ad7d22f1251c6ebabc8bef651cb16ba9b4
tree9348c7dbd58449fd29e530845cdfe38900e4c266
parent4bb5610f69410b69d078c15c5191e5ec9c502dd1
riscv: Fix print_vm_layout build error if NOMMU

arch/riscv/mm/init.c: In function ‘print_vm_layout’:
arch/riscv/mm/init.c:68:37: error: ‘FIXADDR_START’ undeclared (first use in this function);
arch/riscv/mm/init.c:69:20: error: ‘FIXADDR_TOP’ undeclared
arch/riscv/mm/init.c:70:37: error: ‘PCI_IO_START’ undeclared
arch/riscv/mm/init.c:71:20: error: ‘PCI_IO_END’ undeclared
arch/riscv/mm/init.c:72:38: error: ‘VMEMMAP_START’ undeclared
arch/riscv/mm/init.c:73:20: error: ‘VMEMMAP_END’ undeclared (first use in this function);

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/mm/init.c