Messages in this thread | | | Date | Sat, 7 Aug 2004 03:26:15 +0200 | From | Adrian Bunk <> | Subject | Re: Is extern inline -> static inline OK? |
| |
On Sat, Aug 07, 2004 at 01:26:04AM +0200, Andi Kleen wrote: > Tim Bird <tim.bird@am.sony.com> writes: > > > > From what I have read, for either 'extern inline' or 'static inline' > > the compiler is free to not inline the code. Is this wrong? > > Yes, it's wrong in current Linux 2.6. It currently defines inline to > inline __attribute__((always_inline)) >...
To be more exact:
It's defined this way in both 2.4 and 2.6, but only for gcc >= 3.1 (which support __attribute__((always_inline)) ).
> Hope this helps, > > -Andi
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |