]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
KVM: arm64: Fix missing <asm/stackpage/nvhe.h> include
authorBen Dooks <ben.dooks@codethink.co.uk>
Mon, 12 Jan 2026 16:04:13 +0000 (16:04 +0000)
committerMarc Zyngier <maz@kernel.org>
Wed, 14 Jan 2026 11:21:31 +0000 (11:21 +0000)
Include <asm/stackpage/nvhe.h> for kvm_arm_hyp_stack_base
declaration which fixes the following sparse warning:

arch/arm64/kvm/arm.c:63:1: warning: symbol 'kvm_arm_hyp_stack_base' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Link: https://patch.msgid.link/20260112160413.603493-1-ben.dooks@codethink.co.uk
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/arm.c

index 4703f0e15102cdc6a5a2e731baa47d318414a33e..0e1d18b90376203bde78368a4150ef4934595862 100644 (file)
@@ -40,6 +40,7 @@
 #include <asm/kvm_pkvm.h>
 #include <asm/kvm_ptrauth.h>
 #include <asm/sections.h>
+#include <asm/stacktrace/nvhe.h>
 
 #include <kvm/arm_hypercalls.h>
 #include <kvm/arm_pmu.h>