>Hi,
>
>2.5.8-pre3 fails to link here:
>
>init/main.o: In function `start_kernel':
>init/main.o(.text.init+0x681): undefined reference to `setup_per_cpu_areas'
>
>-Udo.
>-
>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/
>
As you could see a few lines above setup_per_cpu_areas gets defined only
of CONFIG_SMP is set. So find the line in the function start_kernel in
init/main.c ( about line #320 IIRC ) where setup_per_cpu_areas gets
called and put #ifdef CONFIG_SMP and #endif around it.
Cheers,
Todor
-
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/