Re: [2.6 patch] cris: "extern inline" -> "static inline"
From: Adrian Bunk (bunk_at_stusta.de)
Date: 08/22/05
- Previous message: Takashi Iwai: "Re: [Alsa-devel] [2.6 patch] sound/core/memalloc.c: fix PROC_FS=n compilation"
- Maybe in reply to: Adrian Bunk: "[2.6 patch] cris: "extern inline" -> "static inline""
- Next in thread: Mikael Starvik: "RE: [2.6 patch] cris: "extern inline" -> "static inline""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 22 Aug 2005 13:57:24 +0200 To: Mikael Starvik <mikael.starvik@axis.com>
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 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/
- Previous message: Takashi Iwai: "Re: [Alsa-devel] [2.6 patch] sound/core/memalloc.c: fix PROC_FS=n compilation"
- Maybe in reply to: Adrian Bunk: "[2.6 patch] cris: "extern inline" -> "static inline""
- Next in thread: Mikael Starvik: "RE: [2.6 patch] cris: "extern inline" -> "static inline""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|