Re: [patch] x86: phase out forced inlining

H. Peter Anvin
2008-03-04T18:13:34Z

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