|
@@ -282,7 +282,7 @@ struct vgic_v2_cpu_if {
|
|
};
|
|
};
|
|
|
|
|
|
struct vgic_v3_cpu_if {
|
|
struct vgic_v3_cpu_if {
|
|
-#ifdef CONFIG_ARM_GIC_V3
|
|
|
|
|
|
+#ifdef CONFIG_KVM_ARM_VGIC_V3
|
|
u32 vgic_hcr;
|
|
u32 vgic_hcr;
|
|
u32 vgic_vmcr;
|
|
u32 vgic_vmcr;
|
|
u32 vgic_sre; /* Restored only, change ignored */
|
|
u32 vgic_sre; /* Restored only, change ignored */
|
|
@@ -364,7 +364,7 @@ void kvm_vgic_set_phys_irq_active(struct irq_phys_map *map, bool active);
|
|
int vgic_v2_probe(struct device_node *vgic_node,
|
|
int vgic_v2_probe(struct device_node *vgic_node,
|
|
const struct vgic_ops **ops,
|
|
const struct vgic_ops **ops,
|
|
const struct vgic_params **params);
|
|
const struct vgic_params **params);
|
|
-#ifdef CONFIG_ARM_GIC_V3
|
|
|
|
|
|
+#ifdef CONFIG_KVM_ARM_VGIC_V3
|
|
int vgic_v3_probe(struct device_node *vgic_node,
|
|
int vgic_v3_probe(struct device_node *vgic_node,
|
|
const struct vgic_ops **ops,
|
|
const struct vgic_ops **ops,
|
|
const struct vgic_params **params);
|
|
const struct vgic_params **params);
|