RISC-V: KVM: selftests: Move sbi_ecall to processor.c
authorAndrew Jones <ajones@ventanamicro.com>
Wed, 20 Dec 2023 16:00:23 +0000 (17:00 +0100)
committerAnup Patel <anup@brainfault.org>
Sat, 30 Dec 2023 05:56:41 +0000 (11:26 +0530)
commit0dcab5c4762ac166aa7e635ae4b6d649e15717e2
treee87b80cadb05d171e5cd2bc5a734d8f05f4b0d04
parente9f12b5fff8ad0eefd0340273767d329ef65fd69
RISC-V: KVM: selftests: Move sbi_ecall to processor.c

sbi_ecall() isn't ucall specific and its prototype is already in
processor.h. Move its implementation to processor.c.

Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
tools/testing/selftests/kvm/lib/riscv/processor.c
tools/testing/selftests/kvm/lib/riscv/ucall.c