Re: [PATCH]Re: spin_locks without smp.

Alan Cox (alan@lxorguk.ukuu.org.uk)
10 Jan 2003 18:18:39 +0000


On Fri, 2003-01-10 at 17:19, Manfred Spraul wrote:
>
> disable_irq();
> spin_lock(&np->lock);
>
> That's what 8390.c uses, no need for an #ifdef.

Does someone have a card they can test that on. If so then I agree
entirely it is the best way to go

-
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/