Re: [2.6 patch] cris: "extern inline" -> "static inline"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 22, 2005 at 07:08:30AM +0200, Mikael Starvik wrote:

> At the time this is rejected because GCC 3.2 makes other inlining
> descisions when "extern inline" is used instead of "static inline".
> Actually we modified lots of static inline to extern inline in
> 2.4 in November 2002 to reduce code bloat with GCC 3.2. I don't
> know if this still is true with 4.0. 
>...

If you look at include/linux/compiler-gcc3.h, you see that in the 
kernel, we #define "inline" to "inline __attribute__((always_inline))"
for gcc >= 3.1 .

In November 2002, we didn't do this in 2.4 kernels.

Can you test whether my patch makes any difference in the size of a 2.6 
kernel with gcc 3.2?

> /Mikael
>...

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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux