Skip to content

Commit

Permalink
[MIPS] IP27: Don't destroy interrupt routing information on shutdown …
Browse files Browse the repository at this point in the history
…irq.

This fixes the "not syncing: Could not identify cpu/level ..." panic
when a PCI irq is requested the second time.

Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
ralfbaechle committed Jul 13, 2006
1 parent 2596935 commit 8717433
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/mips/sgi-ip27/ip27-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@ 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;
struct slice_data *si = cpu_data[bc->irq_cpu].data;
int pin, swlevel;
cpuid_t cpu;

Expand All @@ -311,7 +310,6 @@ static void shutdown_bridge_irq(unsigned int irq)
intr_disconnect_level(cpu, swlevel);

__clear_bit(swlevel, hub->irq_alloc_mask);
si->level_to_irq[swlevel] = -1;

bridge->b_int_enable &= ~(1 << pin);
bridge->b_wid_tflush;
Expand Down

0 comments on commit 8717433

Please sign in to comment.