riscv: mm: use __pa_symbol for kernel symbols
authorZong Li <zong.li@sifive.com>
Thu, 2 Jan 2020 03:12:40 +0000 (11:12 +0800)
committerPaul Walmsley <paul.walmsley@sifive.com>
Fri, 3 Jan 2020 08:33:34 +0000 (00:33 -0800)
commitac51e005fe1456a288929a41d71adc6224e912d2
tree89ce4b704874dc9d540ac126ff4d0ec41481c825
parentfd6988496e79a6a4bdb514a4655d2920209eb85d
riscv: mm: use __pa_symbol for kernel symbols

__pa_symbol is the marcro that should be used for kernel symbols. It is
also a pre-requisite for DEBUG_VIRTUAL which will do bounds checking.

Signed-off-by: Zong Li <zong.li@sifive.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
arch/riscv/mm/init.c