linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Miles Lane <miles.lane@comcast.net>
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: 03 Aug 2003 19:29:00 +0200	[thread overview]
Message-ID: <1059931739.3524.145.camel@gaston> (raw)
In-Reply-To: <200308031020.20592.miles.lane@comcast.net>


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/

  reply	other threads:[~2003-08-03 17:29 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 [this message]
2003-08-03 17:53   ` Miles Lane

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=1059931739.3524.145.camel@gaston \
    --to=benh@kernel.crashing.org \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=miles.lane@comcast.net \
    /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).