irqchip/mips-gic: Implement activate op for device domain
[deliverable/linux.git] / drivers / irqchip / irq-mips-gic.c
index 2e0f49992a9829d456a66779f733c3722b7b5890..83f498393a7f0b5d82264cfd3cd340f0cf6c3c1f 100644 (file)
@@ -893,10 +893,17 @@ void gic_dev_domain_free(struct irq_domain *d, unsigned int virq,
        return;
 }
 
+static void gic_dev_domain_activate(struct irq_domain *domain,
+                                   struct irq_data *d)
+{
+       gic_shared_irq_domain_map(domain, d->irq, d->hwirq, 0);
+}
+
 static struct irq_domain_ops gic_dev_domain_ops = {
        .xlate = gic_dev_domain_xlate,
        .alloc = gic_dev_domain_alloc,
        .free = gic_dev_domain_free,
+       .activate = gic_dev_domain_activate,
 };
 
 static int gic_ipi_domain_xlate(struct irq_domain *d, struct device_node *ctrlr,
This page took 0.024854 seconds and 5 git commands to generate.