riscv: kvm: define vcpu_sbi_ext_pmu in header
authorBen Dooks <ben.dooks@codethink.co.uk>
Fri, 16 Jun 2023 14:22:03 +0000 (15:22 +0100)
committerAnup Patel <anup@brainfault.org>
Mon, 19 Jun 2023 16:58:00 +0000 (22:28 +0530)
commit377f71f6d68d13cf2f5c6c9011ce762224a57b82
tree6d485516e4a76e1842bb7f8ec76645462c4bbc64
parent5463091a51cfaab8922ac94e5178a05dfa836dbb
riscv: kvm: define vcpu_sbi_ext_pmu in header

Sparse is giving a warning about vcpu_sbi_ext_pmu not being
defined, so add a definition to the relevant header to fix
the following:

arch/riscv/kvm/vcpu_sbi_pmu.c:81:37: warning: symbol 'vcpu_sbi_ext_pmu' was not declared. Should it be static?

Fixes: cbddc4c4cb9e ("RISC-V: KVM: Add SBI PMU extension support")
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/include/asm/kvm_vcpu_sbi.h
arch/riscv/kvm/vcpu_sbi.c