Re: Linux 2.4.21-pre3-ac4

Alan Cox (alan@lxorguk.ukuu.org.uk)
13 Jan 2003 21:05:51 +0000


On Mon, 2003-01-13 at 19:32, Ross Biro wrote:
> One thing we could do to solve this entire problem is wait for the
> interrupt to finish before sending the command to the drive in the first
> place. Basically in ide_do_request we just have to change

> if (!masked_irq) {
> disable_irq_sync(hwif->irq);
> }

You cannot disable an IRQ synchronously holding a spin lock taken by an
IRQ handler

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/