From: David Woodhouse <dwmw2@infradead.org>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Doug Chapman <doug.chapman@hp.com>,
Andrew Morton <akpm@linux-foundation.org>,
Tony Luck <tony.luck@intel.com>
Subject: Re: [IA64] fix userspace compile error in gcc_intrin.h
Date: Fri, 29 Feb 2008 13:24:43 -0500 [thread overview]
Message-ID: <1204309483.18955.66.camel@shinybook.infradead.org> (raw)
In-Reply-To: <200802052007.m15K7vuv005319@hera.kernel.org>
On Tue, 2008-02-05 at 20:07 +0000, Linux Kernel Mailing List wrote:
> Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0df29025fd0379d5950d206314d0b10a2c8a9607
> Commit: 0df29025fd0379d5950d206314d0b10a2c8a9607
> Parent: d2fc0bacd5c438cb459fdf531eff00ab18422a00
> Author: Doug Chapman <doug.chapman@hp.com>
> AuthorDate: Mon Jan 28 15:33:28 2008 -0800
> Committer: Tony Luck <tony.luck@intel.com>
> CommitDate: Mon Feb 4 15:08:25 2008 -0800
>
> [IA64] fix userspace compile error in gcc_intrin.h
>
> Fixes userspace build errors when linux/ipv6.h is included such as in the
> dhcpv6 package under fedora. Likely causes other userspace build errors as
> well. I found this in akpm's tree from 2.6.18 but could not find any case
> of anyone proposing it for the main tree.
>
> Signed-off-by: Doug Chapman <doug.chapman@hp.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> Signed-off-by: Tony Luck <tony.luck@intel.com>
> ---
> include/asm-ia64/gcc_intrin.h | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/include/asm-ia64/gcc_intrin.h b/include/asm-ia64/gcc_intrin.h
> index 5b6665c..de2ed2c 100644
> --- a/include/asm-ia64/gcc_intrin.h
> +++ b/include/asm-ia64/gcc_intrin.h
> @@ -24,7 +24,9 @@
> extern void ia64_bad_param_for_setreg (void);
> extern void ia64_bad_param_for_getreg (void);
>
> +#ifdef __KERNEL__
> register unsigned long ia64_r13 asm ("r13") __used;
> +#endif
>
> #define ia64_setreg(regnum, val) \
> ({ \
You also want to move gcc_interin.h from $(header-y) to $(unifdef-y) in
include/asm-ia64/Kbuild.
--
dwmw2
next parent reply other threads:[~2008-02-29 18:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200802052007.m15K7vuv005319@hera.kernel.org>
2008-02-29 18:24 ` David Woodhouse [this message]
2008-02-29 18:41 ` Doug Chapman
2008-03-01 14:49 ` David Woodhouse
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=1204309483.18955.66.camel@shinybook.infradead.org \
--to=dwmw2@infradead.org \
--cc=akpm@linux-foundation.org \
--cc=doug.chapman@hp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tony.luck@intel.com \
/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
all inboxes | Powered by JetHome®