Commit 8b415dcd762607379cf0a69c9dd25940da1d174e
Committed by
Gleb Natapov
1 parent
e3ba45b804
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
KVM: Move kvm_rebooting declaration out of x86
The variable kvm_rebooting is a common kvm variable, so move its declaration from arch/x86/include/asm/kvm_host.h to include/asm/kvm_host.h. Fixes this sparse warning when building on arm64: virt/kvm/kvm_main.c:warning: symbol 'kvm_rebooting' was not declared. Should it be static? Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Gleb Natapov <gleb@redhat.com>
Showing 2 changed files with 2 additions and 1 deletions Side-by-side Diff
arch/x86/include/asm/kvm_host.h
include/linux/kvm_host.h