[PATCH] ARM: io: Fix namespace conflicts.

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Nov 23 14:15:58 EST 2010


On Tue, Nov 23, 2010 at 03:01:17PM +0100, Uwe Kleine-König wrote:
> I wonder if it's not better to make these static inlines instead.  Then
> no naming conflicts can occur.  And maybe we'd catch some more strange
> things because p gets a proper type.
> 
> I don't know how this influences gcc though.

See my email about how code changes affect the optimization of completely
unrelated functions.  Someone pointed out that the problem has been
reported on x86, and GCC people say that it's intentional.

That makes it almost impossible to evaluate whether making these inline
functions is a net benefit or net loss as there is too much noise from
such a change.



More information about the linux-arm-kernel mailing list