summaryrefslogtreecommitdiff
path: root/arch/powerpc/kvm/mpic.c
diff options
context:
space:
mode:
authorRadim Krčmář <rkrcmar@redhat.com>2016-07-12 23:09:26 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2016-07-14 10:03:56 +0300
commitc63cf538eb4bf6a5ffd3750366d8d56f023645a5 (patch)
tree3f5633e4e461850ac5ff219985bf8ed3641f0e84 /arch/powerpc/kvm/mpic.c
parent4d8e772bf8e3fcf55fe17e84ce68c20e03041efc (diff)
downloadlinux-c63cf538eb4bf6a5ffd3750366d8d56f023645a5.tar.xz
KVM: pass struct kvm to kvm_set_routing_entry
Arch-specific code will use it. Signed-off-by: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm/mpic.c')
-rw-r--r--arch/powerpc/kvm/mpic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/mpic.c b/arch/powerpc/kvm/mpic.c
index 6249cdc834d1..ed38f8114118 100644
--- a/arch/powerpc/kvm/mpic.c
+++ b/arch/powerpc/kvm/mpic.c
@@ -1823,7 +1823,8 @@ int kvm_set_msi(struct kvm_kernel_irq_routing_entry *e,
return 0;
}
-int kvm_set_routing_entry(struct kvm_kernel_irq_routing_entry *e,
+int kvm_set_routing_entry(struct kvm *kvm,
+ struct kvm_kernel_irq_routing_entry *e,
const struct kvm_irq_routing_entry *ue)
{
int r = -EINVAL;