diff options
author | Alexandre Ghiti <alex@ghiti.fr> | 2021-06-04 13:49:48 +0200 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-06-11 23:29:17 +0200 |
commit | 7094e6acaf7ab869a1f1c34825ba1fe3173fe350 (patch) | |
tree | 4b44d1627606421f2ac16cf73be5c2ddda1723c5 /virt/kvm | |
parent | riscv: Remove CONFIG_PHYS_RAM_BASE_FIXED (diff) | |
download | linux-7094e6acaf7ab869a1f1c34825ba1fe3173fe350.tar.xz linux-7094e6acaf7ab869a1f1c34825ba1fe3173fe350.zip |
riscv: Simplify xip and !xip kernel address conversion macros
To simplify the kernel address conversion code, make the same definition of
kernel_mapping_pa_to_va and kernel_mapping_va_to_pa compatible for both xip
and !xip kernel by defining XIP_OFFSET to 0 in !xip kernel.
Signed-off-by: Alexandre Ghiti <alex@ghiti.fr>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions