diff options
author | Alexandre Ghiti <alex@ghiti.fr> | 2021-04-28 12:02:17 +0200 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-05-01 17:53:31 +0200 |
commit | 883fcb8ecaaffbc46d5ed20f336da61e422021aa (patch) | |
tree | a23449f9bacb325f6ebe6d6771b02d11cd73502e /arch/riscv/mm/ptdump.c | |
parent | RISC-V: Fix error code returned by riscv_hartid_to_cpuid() (diff) | |
download | linux-883fcb8ecaaffbc46d5ed20f336da61e422021aa.tar.xz linux-883fcb8ecaaffbc46d5ed20f336da61e422021aa.zip |
riscv: Fix 32b kernel build with CONFIG_DEBUG_VIRTUAL=y
Declare kernel_virt_addr for 32b kernel since it is used in
__phys_addr_symbol defined when CONFIG_DEBUG_VIRTUAL is set.
Fixes: 2bfc6cd81bd17 ("riscv: Move kernel mapping outside of linear mapping")
Signed-off-by: Alexandre Ghiti <alex@ghiti.fr>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/mm/ptdump.c')
0 files changed, 0 insertions, 0 deletions