2.6.0-test2-bk2 (Linus' tree) -- arch/ppc/kernel/setup.c:587: error: invalid use of undefined type `struct cpu'

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Aug 4 03:29:00 EST 2003


On Sun, 2003-08-03 at 19:20, Miles Lane wrote:
>   CC      arch/ppc/kernel/setup.o
> arch/ppc/kernel/setup.c: In function `ppc_init':
> arch/ppc/kernel/setup.c:587: warning: implicit declaration of function
> `register_cpu'
> arch/ppc/kernel/setup.c:587: error: invalid use of undefined type `struct cpu'
> include/asm/pmac_feature.h: At top level:
> arch/ppc/kernel/setup.c:575: error: storage size of `cpu_devices' isn't known
> make[1]: *** [arch/ppc/kernel/setup.o] Error 1

Check if it's missing #include <linux/cpu.h>

Ben.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list