2.6.16-mm1: CONFIG_HOTPLUG_CPU compile error

From: Adrian Bunk
Date: Thu Mar 23 2006 - 18:39:29 EST


On Thu, Mar 23, 2006 at 01:40:46AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.16-rc6-mm2:
>...
> +check-if-cpu-can-be-onlined-before-calling-smp_prepare_cpu.patch
>...
> Random stuff.
>...

This patch broke compilation with CONFIG_HOTPLUG_CPU=y:

<-- snip -->

...
CC arch/i386/kernel/smpboot.o
arch/i386/kernel/smpboot.c: In function '__cpu_up':
arch/i386/kernel/smpboot.c:1429: warning: implicit declaration of function '__smp_prepare_cpu'
...
LD .tmp_vmlinux1
arch/i386/kernel/built-in.o: In function `__cpu_up': undefined reference to `__smp_prepare_cpu'
make: *** [.tmp_vmlinux1] Error 1

<-- snip -->

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/