kvm: fix warning for non-x86 builds
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Thu, 22 Feb 2018 12:04:39 +0000 (13:04 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 24 Feb 2018 00:43:47 +0000 (01:43 +0100)
commitf75e4924f0152be747bf04c9d16bb23fd8baf5f9
tree6311fd74f5d2f8e05d5f6ec12a9d1b90ce8ecd8e
parent076467490b8176eb96eddc548a14d4135c7b5852
kvm: fix warning for non-x86 builds

Fix the following sparse warning by moving the prototype
of kvm_arch_mmu_notifier_invalidate_range() to linux/kvm_host.h .

  CHECK   arch/s390/kvm/../../../virt/kvm/kvm_main.c
arch/s390/kvm/../../../virt/kvm/kvm_main.c:138:13: warning: symbol 'kvm_arch_mmu_notifier_invalidate_range' was not declared. Should it be static?

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
include/linux/kvm_host.h