提交 ed7a2365 编写于 作者: R Ralf Baechle

[MIPS] IP27: shutdown_bridge_irq: don't free irq.

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 8313da30
...@@ -292,7 +292,6 @@ static unsigned int startup_bridge_irq(unsigned int irq) ...@@ -292,7 +292,6 @@ static unsigned int startup_bridge_irq(unsigned int irq)
static void shutdown_bridge_irq(unsigned int irq) static void shutdown_bridge_irq(unsigned int irq)
{ {
struct bridge_controller *bc = IRQ_TO_BRIDGE(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; bridge_t *bridge = bc->base;
int pin, swlevel; int pin, swlevel;
cpuid_t cpu; cpuid_t cpu;
...@@ -307,8 +306,6 @@ static void shutdown_bridge_irq(unsigned int irq) ...@@ -307,8 +306,6 @@ static void shutdown_bridge_irq(unsigned int irq)
swlevel = find_level(&cpu, irq); swlevel = find_level(&cpu, irq);
intr_disconnect_level(cpu, swlevel); intr_disconnect_level(cpu, swlevel);
__clear_bit(swlevel, hub->irq_alloc_mask);
bridge->b_int_enable &= ~(1 << pin); bridge->b_int_enable &= ~(1 << pin);
bridge->b_wid_tflush; bridge->b_wid_tflush;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册