All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Ellerman <michael@ellerman.id.au>
To: linuxppc-dev@tux.tmfweb.nl
Cc: linuxppc-dev@ozlabs.org, paulus@samba.org
Subject: Re: powerpc.git build error
Date: Sun, 26 Nov 2006 17:39:43 +1100	[thread overview]
Message-ID: <1164523183.10222.1.camel@localhost.localdomain> (raw)
In-Reply-To: <20061125225807.GA10510@nospam.com>

[-- Attachment #1: Type: text/plain, Size: 1300 bytes --]

On Sat, 2006-11-25 at 23:58 +0100, Rutger Nijlunsing wrote:
> Hi,
> 
> While respinning my previous patch, I'm trying to (cross)compile the
> PowerPC git kernel (branch master) for a UP G3 (PowerBook) which
> results in compile errors:
> 
> ...
>   CC      arch/powerpc/kernel/crash.o
> arch/powerpc/kernel/crash.c: In function 'default_machine_crash_shutdown':
> arch/powerpc/kernel/crash.c:292: warning: implicit declaration of function 'hard_irq_disable'
> ...
> arch/powerpc/kernel/built-in.o: In function `default_machine_crash_shutdown':
> arch/powerpc/kernel/crash.c:292: undefined reference to `hard_irq_disable'
> make: *** [.tmp_vmlinux1] Error 1
> 
> ...which can be traced back to commit
> d04c56f73c30a5e593202ecfcf25ed43d42363a2.
> 
> This has undoubtly to do with my config (CONFIG_PPC64=n,
> CONFIG_PPC32=y); .config attached for full inspection.

And CONFIG_KEXEC=y, which is not in any 32-bit defconfigs. Do you
actually want it enabled?

See my patch just posted which should fix this for you.

cheers

-- 
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-11-26  6:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-25 22:58 powerpc.git build error Rutger Nijlunsing
2006-11-26  6:39 ` Michael Ellerman [this message]
2006-11-26 19:06   ` Rutger Nijlunsing
2006-11-26 20:47     ` Guennadi Liakhovetski
2006-11-26 21:05       ` Rutger Nijlunsing
2006-11-26 21:19         ` Guennadi Liakhovetski
2006-11-27  3:16         ` Benjamin Herrenschmidt
2006-11-27 23:12           ` Rutger Nijlunsing
2006-11-27 23:17             ` Benjamin Herrenschmidt
2006-11-26 22:56     ` Benjamin Herrenschmidt

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=1164523183.10222.1.camel@localhost.localdomain \
    --to=michael@ellerman.id.au \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=linuxppc-dev@tux.tmfweb.nl \
    --cc=paulus@samba.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.