KVM: arm64: fix missing <asm/stackpage/nvhe.h> include
PATCH 1/1 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 <[email protected]>
--- arch/arm64/kvm/arm.c | 1 + 1 file changed, 1 insertion(+)
arch/arm64/kvm/arm.c +1 -0
@@ -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>
Signature · 1 line
2.37.2.352.g3c44437643
Quoted 6 lines · Ben Dooks
Include <
asm/stackpage/nvhe.h> forkvm_arm_hyp_stack_basedeclaration 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?
Applied to next, thanks!
[1/1] KVM: arm64: fix missing <asm/stackpage/nvhe.h> include
commit: 4b16ad0bf821d4aceb050e9f569dc329883f1c5b
Cheers,
M.
Signature · 1 line
Without deviation from the norm, progress is not possible.