Re: NCR5380 stuff

Ivan Popov (pin@math.chalmers.se)
Wed, 31 Mar 1999 16:30:26 +0200 (MET DST)


On Wed, 31 Mar 1999, Alan Cox wrote:

> Ok how does this look. I think this correctly interprets the 2,0 drivers
> intention unlike 2.2 which as you pointed out got the one case of
> USLEEP/NCR5380_main wrong

> + spin_lock_irqsave(&io_request_lock, flags);
> run_main();
> + spin_unlock_irqsave(&io_request_lock);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I suppose it should be spin_unlock_irqrestore(&io_request_lock, flags)

??

--
Ivan

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