From: Tom Rini <trini@kernel.crashing.org>
To: Mikael Pettersson <mikpe@user.it.uu.se>
Cc: paulus@samba.org, linux-kerne@vger.kernel.org, linuxppc-dev@ozlabs.org
Subject: Re: [PATCH][2.6.11-rc3] gcc-4.0 fixes for ppc32
Date: Wed, 9 Feb 2005 10:34:50 -0700 [thread overview]
Message-ID: <20050209173450.GA3226@smtp.west.cox.net> (raw)
In-Reply-To: <16906.12395.517982.168072@alkaid.it.uu.se>
On Wed, Feb 09, 2005 at 04:46:51PM +0100, Mikael Pettersson wrote:
> These patches are needed to allow me to build a working
> 2.6.11-rc3 kernel for ppc32 with gcc-4.0 (20050130 snapshot):
>
> - The static time_offset in arch/ppc/kernel/time.c triggers a
> declaration conflict with the non-static one in include/linux/timex.h.
> Solution: s/time_offset/ppc_time_offset/g in ppc's time.c.
> - OpenPIC is declared extern in open_pic_defs.h but static in
> open_pic.c. Solution: remove the extern decl.
> - prom_display_paths[] and prom_num_displays are declared extern in
> include/asm-ppc/prom.h but static in arch/ppc/syslib/prom_init.c.
> Solution: remove the extern decls.
> - The 'const' on __USE_RTC() in include/asm-ppc/time.h triggers
> compiler warnings. Change it to use compiler.h's __attribute_const__.
> (This mirrors changes that have already been made in e.g. byteorder.h.)
>
> Tested on an eMac. No breakage observed.
>
> Signed-off-by: Mikael Pettersson <mikpe@csd.uu.se>
This all looks fine to me, will send once 2.6.12-rc1 opens.
--
Tom Rini
http://gate.crashing.org/~trini/
prev parent reply other threads:[~2005-02-09 17:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-09 15:46 [PATCH][2.6.11-rc3] gcc-4.0 fixes for ppc32 Mikael Pettersson
2005-02-09 17:34 ` Tom Rini [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=20050209173450.GA3226@smtp.west.cox.net \
--to=trini@kernel.crashing.org \
--cc=linux-kerne@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=mikpe@user.it.uu.se \
--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 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).