Re: [patch] x86: phase out forced inlining

From: H. Peter Anvin
Date: Tue Mar 04 2008 - 13:14:00 EST


Harvey Harrison wrote:
On Tue, 2008-03-04 at 17:46 +0100, Ingo Molnar wrote:
* Sam Ravnborg <sam@xxxxxxxxxxxx> 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
--
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/