]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
kvm: fix warning for CONFIG_HAVE_KVM_EVENTFD builds
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Thu, 22 Feb 2018 12:05:41 +0000 (13:05 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 27 Aug 2018 14:40:05 +0000 (16:40 +0200)
commite0dba85752cb5572c8be3b7032494f23d8e219c7
treea59f92a11050d450e694d9dbd53f3dbe27f6de68
parent076381c43f3a79531ed37cdd014e13415796a689
kvm: fix warning for CONFIG_HAVE_KVM_EVENTFD builds

BugLink: http://bugs.launchpad.net/bugs/1786352
[ Upstream commit 076467490b8176eb96eddc548a14d4135c7b5852 ]

Move the kvm_arch_irq_routing_update() prototype outside of
ifdef CONFIG_HAVE_KVM_EVENTFD guards to fix the following sparse warning:

arch/s390/kvm/../../../virt/kvm/irqchip.c:171:28: warning: symbol 'kvm_arch_irq_routing_update' was not declared. Should it be static?

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
include/linux/kvm_host.h