riscv: kvm: use ".L" local labels in assembly when applicable
authorClément Léger <cleger@rivosinc.com>
Tue, 24 Oct 2023 13:26:55 +0000 (15:26 +0200)
committerAnup Patel <anup@brainfault.org>
Fri, 29 Dec 2023 07:01:33 +0000 (12:31 +0530)
commite5ff012743cbc3cf13d2243aaaf032a2ca4d0791
treed01c876746fd4005457f0bc8a9dd1e7e7fef25de
parent683c5bbbf6aea247bc95a7eb9fdfba4fcc8c909a
riscv: kvm: use ".L" local labels in assembly when applicable

For the sake of coherency, use local labels in assembly when
applicable. This also avoid kprobes being confused when applying a
kprobe since the size of function is computed by checking where the
next visible symbol is located. This might end up in computing some
function size to be way shorter than expected and thus failing to apply
kprobes to the specified offset.

Signed-off-by: Clément Léger <cleger@rivosinc.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/kvm/vcpu_switch.S