Re: [2.6 patch] include/asm-mips/processor.h: "extern inline" -> "static inline"

2007-07-09 Thread Ralf Baechle
On Mon, Jul 09, 2007 at 02:22:40PM +0200, Adrian Bunk wrote: > In C99 (and therefore in gcc >= 4.3), "extern inline" means that the > function should be compiled inline where the inline definition is seen, > and that the compiler should also emit a copy of the function body with > an externally

Re: [2.6 patch] include/asm-mips/processor.h: "extern inline" -> "static inline"

2007-07-09 Thread Adrian Bunk
On Mon, Jul 09, 2007 at 11:27:55AM +0100, Ralf Baechle wrote: > On Sat, Jul 07, 2007 at 03:03:30AM +0200, Adrian Bunk wrote: > > > "extern inline" will have different semantics with gcc 4.3, > > and "static inline" is correct here. > > The idea was to have a linker error in case gcc should decied

Re: [2.6 patch] include/asm-mips/processor.h: "extern inline" -> "static inline"

2007-07-09 Thread Franck Bui-Huu
Hi, On 7/9/07, Ralf Baechle <[EMAIL PROTECTED]> wrote: On Sat, Jul 07, 2007 at 03:03:30AM +0200, Adrian Bunk wrote: > "extern inline" will have different semantics with gcc 4.3, > and "static inline" is correct here. The idea was to have a linker error in case gcc should deciede for some reaso

Re: [2.6 patch] include/asm-mips/processor.h: "extern inline" -> "static inline"

2007-07-09 Thread Ralf Baechle
On Sat, Jul 07, 2007 at 03:03:30AM +0200, Adrian Bunk wrote: > "extern inline" will have different semantics with gcc 4.3, > and "static inline" is correct here. The idea was to have a linker error in case gcc should deciede for some reason not to inline this function which as I understand will c

[2.6 patch] include/asm-mips/processor.h: "extern inline" -> "static inline"

2007-07-06 Thread Adrian Bunk
"extern inline" will have different semantics with gcc 4.3, and "static inline" is correct here. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.22-rc6-mm1/include/asm-mips/processor.h.old 2007-07-07 01:06:35.0 +0200 +++ linux-2.6.22-rc6-mm1/include/asm-mips/proces