Skip to content

Commit 4b16ad0

Browse files
bjdooks-ctMarc Zyngier
authored andcommitted
KVM: arm64: Fix missing <asm/stackpage/nvhe.h> include
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>
1 parent 8e8eb10 commit 4b16ad0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/arm64/kvm/arm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
#include <asm/kvm_pkvm.h>
4141
#include <asm/kvm_ptrauth.h>
4242
#include <asm/sections.h>
43+
#include <asm/stacktrace/nvhe.h>
4344

4445
#include <kvm/arm_hypercalls.h>
4546
#include <kvm/arm_pmu.h>

0 commit comments

Comments
 (0)