irq_domain/microblaze: Convert microblaze to use irq_domains
[deliverable/linux.git] / arch / microblaze / kernel / irq.c
index e5d63a89b9b20085e9e81042326c0e68bee362a6..ace700afbfdf01350065662020c7a94622717781 100644 (file)
@@ -31,12 +31,12 @@ void __irq_entry do_IRQ(struct pt_regs *regs)
        trace_hardirqs_off();
 
        irq_enter();
-       irq = get_irq(regs);
+       irq = get_irq();
 next_irq:
-       BUG_ON(irq == -1U);
+       BUG_ON(!irq);
        generic_handle_irq(irq);
 
-       irq = get_irq(regs);
+       irq = get_irq();
        if (irq != -1U) {
                pr_debug("next irq: %d\n", irq);
                ++concurrent_irq;
@@ -47,18 +47,3 @@ next_irq:
        set_irq_regs(old_regs);
        trace_hardirqs_on();
 }
-
-/* MS: There is no any advance mapping mechanism. We are using simple 32bit
-  intc without any cascades or any connection that's why mapping is 1:1 */
-unsigned int irq_create_mapping(struct irq_host *host, irq_hw_number_t hwirq)
-{
-       return hwirq;
-}
-EXPORT_SYMBOL_GPL(irq_create_mapping);
-
-unsigned int irq_create_of_mapping(struct device_node *controller,
-                                  const u32 *intspec, unsigned int intsize)
-{
-       return intspec[0];
-}
-EXPORT_SYMBOL_GPL(irq_create_of_mapping);
This page took 0.037945 seconds and 5 git commands to generate.