Commit 60e5e04d authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] reenable interrupts in parport code

parport_register_port() does spin_lock_irq() then spin_unlock().

This causes the IDE code to mysteriously go BUG_ON(irqs_disabled()) in a
later initcall.
parent 78d12716
......@@ -472,7 +472,7 @@ struct parport *parport_register_port(unsigned long base, int irq, int dma,
portlist_tail = tmp;
if (!portlist)
portlist = tmp;
spin_unlock(&parportlist_lock);
spin_unlock_irq(&parportlist_lock);
for (device = 0; device < 5; device++)
/* assume the worst */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment