riscv: Add jump-label implementation
Add jump-label implementation based on the ARM64 version and add CONFIG_JUMP_LABEL=y to the defconfigs. Signed-off-by:Emil Renner Berthing <kernel@esmil.dk> Reviewed-by:
Björn Töpel <bjorn.topel@gmail.com> Tested-by:
Björn Töpel <bjorn.topel@gmail.com> Signed-off-by:
Palmer Dabbelt <palmerdabbelt@google.com>
Showing
- Documentation/features/core/jump-labels/arch-support.txt 1 addition, 1 deletionDocumentation/features/core/jump-labels/arch-support.txt
- arch/riscv/Kconfig 2 additions, 0 deletionsarch/riscv/Kconfig
- arch/riscv/configs/defconfig 1 addition, 0 deletionsarch/riscv/configs/defconfig
- arch/riscv/configs/nommu_k210_defconfig 1 addition, 0 deletionsarch/riscv/configs/nommu_k210_defconfig
- arch/riscv/configs/nommu_virt_defconfig 1 addition, 0 deletionsarch/riscv/configs/nommu_virt_defconfig
- arch/riscv/configs/rv32_defconfig 1 addition, 0 deletionsarch/riscv/configs/rv32_defconfig
- arch/riscv/include/asm/jump_label.h 60 additions, 0 deletionsarch/riscv/include/asm/jump_label.h
- arch/riscv/kernel/Makefile 2 additions, 0 deletionsarch/riscv/kernel/Makefile
- arch/riscv/kernel/jump_label.c 53 additions, 0 deletionsarch/riscv/kernel/jump_label.c
Loading
Please register or sign in to comment