]> err.no Git - linux-2.6/commitdiff
[MIPS] IP27: shutdown_bridge_irq: don't free irq.
authorRalf Baechle <ralf@linux-mips.org>
Sun, 26 Aug 2007 23:19:21 +0000 (00:19 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 27 Aug 2007 01:17:00 +0000 (02:17 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sgi-ip27/ip27-irq.c

index ba8e0794630cd2e6a35e3284f5811e270cf3ef69..554a5c783a898d7bdc6d366a46f9485ea0fb694c 100644 (file)
@@ -292,7 +292,6 @@ static unsigned int startup_bridge_irq(unsigned int irq)
 static void shutdown_bridge_irq(unsigned int irq)
 {
        struct bridge_controller *bc = IRQ_TO_BRIDGE(irq);
-       struct hub_data *hub = hub_data(cpu_to_node(bc->irq_cpu));
        bridge_t *bridge = bc->base;
        int pin, swlevel;
        cpuid_t cpu;
@@ -307,8 +306,6 @@ static void shutdown_bridge_irq(unsigned int irq)
        swlevel = find_level(&cpu, irq);
        intr_disconnect_level(cpu, swlevel);
 
-       __clear_bit(swlevel, hub->irq_alloc_mask);
-
        bridge->b_int_enable &= ~(1 << pin);
        bridge->b_wid_tflush;
 }