Re: [PATCH] Fix SMP support on 3c527 net driver, take 2

From: Alan Cox
Date: Thu Sep 04 2003 - 08:24:15 EST


On Iau, 2003-09-04 at 13:52, Felipe W Damasio wrote:
> But I'm not sure on how we should go here: We go get the hold lock
> right after 'status=inb(ioaddr+HOST_CMD)', so we can treat the
> interrupt safely.
>
> Although, there are some places that we do "wake_up (lp->event)",

wake_up will not sleep, its safe from interrupts and with locks held.


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