linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Miles Lane <miles.lane@comcast.net>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: 2.6.0-test2-bk2 (Linus' tree) -- arch/ppc/kernel/setup.c:587: error: invalid use of undefined type `struct cpu'
Date: Sun, 3 Aug 2003 10:53:16 -0700	[thread overview]
Message-ID: <200308031053.16110.miles.lane@comcast.net> (raw)
In-Reply-To: <1059931739.3524.145.camel@gaston>


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/

      reply	other threads:[~2003-08-03 17:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-03 17:20 2.6.0-test2-bk2 (Linus' tree) -- arch/ppc/kernel/setup.c:587: error: invalid use of undefined type `struct cpu' Miles Lane
2003-08-03 17:29 ` Benjamin Herrenschmidt
2003-08-03 17:53   ` Miles Lane [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200308031053.16110.miles.lane@comcast.net \
    --to=miles.lane@comcast.net \
    --cc=benh@kernel.crashing.org \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).