[PATCH 2/3] KVM: s390: arm64: Declare enum vcpu_sysreg

From: Andreas Grapentin

Date: Tue Nov 03 2026 - 13:23:47 EST


Forward-declare enum vcpu_sysreg in kvm_host_arm64.h. This should have
been included in the first iteration of the header, since we will need
it to talk about system registers.

Since the definition of enum vcpu_sysreg is not shared yet, and not used
on the s390 side, this should not cause any functional changes.

Fixes: e6c329180d1d ("KVM: s390: arm64: Introduce host definitions")
Signed-off-by: Andreas Grapentin <gra@xxxxxxxxxxxxx>
---
arch/s390/include/asm/kvm_host_arm64.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/s390/include/asm/kvm_host_arm64.h b/arch/s390/include/asm/kvm_host_arm64.h
index a3e40650d75d..3e69724f17c9 100644
--- a/arch/s390/include/asm/kvm_host_arm64.h
+++ b/arch/s390/include/asm/kvm_host_arm64.h
@@ -8,6 +8,7 @@
#include <asm/debug.h>

#define vcpu_gp_regs(v) ((v)->arch.sae_block.gpr)
+enum vcpu_sysreg;

#include <arm64/kvm_host.h>
#include <arm64/ptrace.h>

--
2.55.0