aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm/arm/vgic/vgic-mmio.h
diff options
context:
space:
mode:
authorZenghui Yu <yuzenghui@huawei.com>2020-01-19 17:06:04 +0800
committerMarc Zyngier <maz@kernel.org>2020-01-19 18:06:24 +0000
commit31a9b0b11b1c5264433a4fa1e1e1e8aa03954b1c (patch)
tree6785baa896703c1ef92c0f580d4e303c4c21f0ac /virt/kvm/arm/vgic/vgic-mmio.h
parentKVM: arm/arm64: vgic-its: Properly check the unmapped coll in DISCARD handler (diff)
downloadlinux-dev-31a9b0b11b1c5264433a4fa1e1e1e8aa03954b1c.tar.xz
linux-dev-31a9b0b11b1c5264433a4fa1e1e1e8aa03954b1c.zip
KVM: arm/arm64: vgic: Drop the kvm_vgic_register_mmio_region()
kvm_vgic_register_mmio_region() was introduced in commit 4493b1c4866a ("KVM: arm/arm64: vgic-new: Add MMIO handling framework") but never used, and even never implemented. Remove it to avoid confusing readers. Reported-by: Haibin Wang <wanghaibin.wang@huawei.com> Signed-off-by: Zenghui Yu <yuzenghui@huawei.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20200119090604.398-1-yuzenghui@huawei.com
Diffstat (limited to '')
-rw-r--r--virt/kvm/arm/vgic/vgic-mmio.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/virt/kvm/arm/vgic/vgic-mmio.h b/virt/kvm/arm/vgic/vgic-mmio.h
index 836f418f1ee8..5af2aefad435 100644
--- a/virt/kvm/arm/vgic/vgic-mmio.h
+++ b/virt/kvm/arm/vgic/vgic-mmio.h
@@ -98,11 +98,6 @@ extern struct kvm_io_device_ops kvm_io_gic_ops;
.uaccess_write = uwr, \
}
-int kvm_vgic_register_mmio_region(struct kvm *kvm, struct kvm_vcpu *vcpu,
- struct vgic_register_region *reg_desc,
- struct vgic_io_device *region,
- int nr_irqs, bool offset_private);
-
unsigned long vgic_data_mmio_bus_to_host(const void *val, unsigned int len);
void vgic_data_host_to_mmio_bus(void *buf, unsigned int len,