Re: [PATCH]Re: spin_locks without smp.

Mikael Pettersson (mikpe@csd.uu.se)
Sat, 11 Jan 2003 14:22:39 +0100 (MET)


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/