Re: use of preempt_count instead of in_atomic() at leds-gpio.c

From: Henrique de Moraes Holschuh
Date: Fri Mar 21 2008 - 08:37:32 EST


On Fri, 21 Mar 2008, Stefan Richter wrote:
> and eth1394 to deal with temporary lack of of tlabels. Alas I just
> recently received a report that eth1394's workaround is unsuccessful on
> non-preemptible uniprocessor kernels. I suspect the same issue exists

Which, I think, is exactly the config where in_atomic() can't be used to
mean "in_scheduleable_context()" ?

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
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/