Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Ben Dooks and committed by
Marc Zyngier
4b16ad0b 8e8eb10c

+1
+1
arch/arm64/kvm/arm.c
··· 40 40 #include <asm/kvm_pkvm.h> 41 41 #include <asm/kvm_ptrauth.h> 42 42 #include <asm/sections.h> 43 + #include <asm/stacktrace/nvhe.h> 43 44 44 45 #include <kvm/arm_hypercalls.h> 45 46 #include <kvm/arm_pmu.h>