Re: 2.6.7-rc3-mm2 inlining failures.

From: Adrian Bunk
Date: Mon Aug 09 2004 - 14:48:06 EST


On Mon, Aug 09, 2004 at 07:32:01PM +0100, Dave Jones wrote:
> arch/i386/mach-generic/summit.c: In function `send_IPI_all':
> include/asm/mach-summit/mach_ipi.h:4: sorry, unimplemented: inlining failed in call to 'send_IPI_mask_sequence': function body not available
> arch/i386/mach-generic/summit.c:8: sorry, unimplemented: called from here
> make[1]: *** [arch/i386/mach-generic/summit.o] Error 1
> make: *** [arch/i386/mach-generic] Error 2
>...
> gcc version 3.4.1 20040714 (Red Hat 3.4.1-7)
>
>
> --- linux-2.6.7/include/asm/mach-summit/mach_ipi.h~ 2004-08-09 19:30:02.639882888 +0100
> +++ linux-2.6.7/include/asm/mach-summit/mach_ipi.h 2004-08-09 19:30:07.432154352 +0100
> @@ -1,7 +1,7 @@
> #ifndef __ASM_MACH_IPI_H
> #define __ASM_MACH_IPI_H
>
> -inline void send_IPI_mask_sequence(cpumask_t mask, int vector);
> +void send_IPI_mask_sequence(cpumask_t mask, int vector);
>
> static inline void send_IPI_mask(cpumask_t mask, int vector)
> {
>...

I assume removing the inline from the actual function in
arch/i386/kernel/smp.c is also required for correctness?

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