Re: Alpha: replacing "extern inline"

From: Adrian Bunk
Date: Wed Aug 23 2006 - 18:50:25 EST


On Mon, Aug 21, 2006 at 02:55:26PM -0700, Richard Henderson wrote:
> On Mon, Aug 21, 2006 at 01:54:38AM +0200, Adrian Bunk wrote:
> > Why?
>
> Because it inlines when it needs to, and does not generate
> out of line code when its address is taken.

Ah, I start to remember.

Is this actually used anywhere in the kernel?

> > Can someone tell me which of the Alpha "static inline"'s need for some
> > reason an __always_inline?
>
> There shouldn't be any.
>
> > Does the never defined __IO_EXTERN_INLINE still have any purpose?
>
> It is defined.
>
> $ grep 'define __IO_EXTERN_INLINE' * | wc -l
> 12

Ups, I was blind...

> r~

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
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/