summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2013-04-05 19:20:30 +0000
committerGleb Natapov <gleb@redhat.com>2013-04-08 13:02:09 +0300
commit8b415dcd762607379cf0a69c9dd25940da1d174e (patch)
treee92a029e27300415fb700e0de7d65f633e2ee1ea /arch/x86/include
parente3ba45b8041740f4ab8bbba3c6239876661aeed6 (diff)
downloadop-kernel-dev-8b415dcd762607379cf0a69c9dd25940da1d174e.zip
op-kernel-dev-8b415dcd762607379cf0a69c9dd25940da1d174e.tar.gz
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>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/kvm_host.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 628163c..b2c7263 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -972,7 +972,6 @@ enum {
* Trap the fault and ignore the instruction if that happens.
*/
asmlinkage void kvm_spurious_fault(void);
-extern bool kvm_rebooting;
#define ____kvm_handle_fault_on_reboot(insn, cleanup_insn) \
"666: " insn "\n\t" \
OpenPOWER on IntegriCloud