diff options
author | 2021-07-21 09:59:37 +0200 | |
---|---|---|
committer | 2021-08-11 18:37:48 -0700 | |
commit | 59a27e1122133831111f9e2e40fec2307d742487 (patch) | |
tree | cab189fe753a074c0474c43337673ecfc515ae7e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dt-bindings: riscv: add starfive jh7100 bindings (diff) | |
download | wireguard-linux-59a27e1122133831111f9e2e40fec2307d742487.tar.xz wireguard-linux-59a27e1122133831111f9e2e40fec2307d742487.zip |
riscv: Optimize kernel virtual address conversion macro
The current test in kernel_mapping_va_to_pa only applies when
CONFIG_XIP_KERNEL is set, so use IS_ENABLED to optimize this macro at
compile-time in standard kernels that do not require this test.
Signed-off-by: Alexandre Ghiti <alex@ghiti.fr>
Tested-by: Emil Renner Berthing <kernel@esmil.dk>
Reviewed-by: Jisheng Zhang <jszhang@kernel.org>
Reviewed-By: Vitaly Wool <vitaly.wool@konsulko.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions