Skip to content

Commit

Permalink
KVM: arm/arm64: vgic: Remove the declaration of kvm_send_userspace_msi()
Browse files Browse the repository at this point in the history
The callsite of kvm_send_userspace_msi() is currently arch agnostic.
There seems no reason to keep an extra declaration of it in arm_vgic.h
(we already have one in include/linux/kvm_host.h).

Remove it.

Signed-off-by: Zenghui Yu <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Reviewed-by: Eric Auger <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
Zenghui Yu authored and Marc Zyngier committed Oct 29, 2019
1 parent 8e01d9a commit 9ff624c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/kvm/arm_vgic.h
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,6 @@ static inline int kvm_vgic_get_max_vcpus(void)
return kvm_vgic_global_state.max_gic_vcpus;
}

int kvm_send_userspace_msi(struct kvm *kvm, struct kvm_msi *msi);

/**
* kvm_vgic_setup_default_irq_routing:
* Setup a default flat gsi routing table mapping all SPIs
Expand Down

0 comments on commit 9ff624c

Please sign in to comment.