Re: [patch] x86: phase out forced inlining

Harvey Harrison
2008-03-04T18:18:39Z

On Tue, 2008-03-04 at 10:09 -0800, H. Peter Anvin wrote:
> Harvey Harrison wrote:
> > On Tue, 2008-03-04 at 17:46 +0100, Ingo Molnar wrote:
> >> * Sam Ravnborg <sam@ravnborg.org> wrote:
> >
> >> i dont know why they there are so many variants, but all of them seem to
> >> be used throughout the kernel:
> >>
> >> inline : 25648
> >
> > I'll assume this is the preferred way of saying it.
> >
> >> __inline__ : 1380
> >
> > Lots of them in include/asm-*...not sure if there is a reason for this.
> >
>
> Preferred form for code that's exported to userspace (since gcc
> complains with -ansi -pedantic otherwise.)
>
> -hpa