Re: so what's so special about sema_init() for alpha?
From: Roman Zippel
Date: Fri Oct 27 2006 - 07:26:26 EST
Hi,
On Tue, 24 Oct 2006, Robert P. J. Day wrote:
> i'm still curious as to why the implementation for sema_init() for
> the alpha can't be simplified as (allegedly) could all of the other
> architecture sema_init() calls.
Did you even look at the code it generates? It's not specific to alpha
at all. Unless the structure is small enough, gcc will first generate a
copy on the stack and then copy it to its final location.
bye, Roman
-
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/