[PATCH 4/15] celleb: interfaces to the hypervisor of Celleb

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Dec 12 15:42:39 EST 2006


> Also, do you need beat_errno? you return the same value in every 
> function anyway.

It's actually a very bad thing to have a global errno... It's racy, how
do you do if multiple CPUs modify it at the same time ? Thus the content
of it is worthless, so just drop it ;-)

Ben.
 




More information about the Linuxppc-dev mailing list