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

Miles Lane miles.lane at comcast.net
Mon Aug 4 03:53:16 EST 2003


On Sun August 3 2003 10:29 am, Benjamin Herrenschmidt wrote:
> 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>

Yep, it is.  I am recompiling now, with it included.

Thanks!
	Miles


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





More information about the Linuxppc-dev mailing list