Skip to contentSkip to conversation

spin_locks without smp.

PATCH Mikael Pettersson 2 participants 2 messages Jan 11, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines · Alan Cox
Quoted 5 lines · Manfred Spraul
    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

#1 lore raw
Quoted 6 lines · Mikael Pettersson
Quoted 5 lines · Alan Cox
Quoted 4 lines · Manfred Spraul
    disable_irq();
    spin_lock(&np->lock);
Quoted 7 lines
Quoted 4 lines
Quoted 1 line

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.

Sorry I wasnt clear enough. The 8390 is done, the one that would need the testing is SMP etherexpress.c.