Re: [PATCH]Re: spin_locks without smp.

From: Mikael Pettersson (mikpe@csd.uu.se)
Date: Sat Jan 11 2003 - 08:22:39 EST


On 10 Jan 2003 18:18:39 +0000, Alan Cox wrote:
>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

I have an ISA NE2000 available for testing, if someone feeds me patches.
Only UP hardware, though.

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



This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:37 EST