]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: Move kvm_rebooting declaration out of x86
authorGeoff Levand <geoff@infradead.org>
Fri, 5 Apr 2013 19:20:30 +0000 (19:20 +0000)
committerGleb Natapov <gleb@redhat.com>
Mon, 8 Apr 2013 10:02:09 +0000 (13:02 +0300)
commit8b415dcd762607379cf0a69c9dd25940da1d174e
treee92a029e27300415fb700e0de7d65f633e2ee1ea
parente3ba45b8041740f4ab8bbba3c6239876661aeed6
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>
arch/x86/include/asm/kvm_host.h
include/linux/kvm_host.h