mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
KVM: always declare prototype for kvm_arch_irqchip_in_kernel
Architecture code might want to use it even if CONFIG_HAVE_KVM_IRQ_ROUTING
is false; for example PPC XICS has KVM_IRQ_LINE and wants to use
kvm_arch_irqchip_in_kernel from there, but it does not have
KVM_SET_GSI_ROUTING so the prototype was not provided.
Fixes: d663b8a285
("KVM: replace direct irq.h inclusion")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
@@ -663,9 +663,9 @@ struct kvm_irq_routing_table {
|
||||
*/
|
||||
struct hlist_head map[];
|
||||
};
|
||||
#endif
|
||||
|
||||
bool kvm_arch_irqchip_in_kernel(struct kvm *kvm);
|
||||
#endif
|
||||
|
||||
#ifndef KVM_INTERNAL_MEM_SLOTS
|
||||
#define KVM_INTERNAL_MEM_SLOTS 0
|
||||
|
Reference in New Issue
Block a user