public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mark Loeser (halcy0n)" <halcy0n@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo commit in src/patchsets/gentoo-headers/2.6.30: 0010-ia64-include-linux-types.patch
Date: Sat, 25 Jul 2009 17:01:18 +0000	[thread overview]
Message-ID: <E1MUkcY-0008EK-IZ@stork.gentoo.org> (raw)

halcy0n     09/07/25 17:01:18

  Added:                0010-ia64-include-linux-types.patch
  Log:
  Add patch to fix building glibc on ia64

Revision  Changes    Path
1.1                  src/patchsets/gentoo-headers/2.6.30/0010-ia64-include-linux-types.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gentoo-headers/2.6.30/0010-ia64-include-linux-types.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gentoo-headers/2.6.30/0010-ia64-include-linux-types.patch?rev=1.1&content-type=text/plain

Index: 0010-ia64-include-linux-types.patch
===================================================================
From: Aurelien Jarno <aurelien@aurel32.net>
Date: Fri, 17 Jul 2009 13:35:05 +0000 (-0700)
Subject: Revert "Neither asm/types.h nor linux/types.h is required for arch/ia64/include/asm ...
X-Git-Tag: v2.6.31-rc4~30^2
X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Fstable%2Flinux-2.6-stable.git;a=commitdiff_plain;h=18282b36d742347abd9a4bc74fe9fd2432a8335b

Revert "Neither asm/types.h nor linux/types.h is required for arch/ia64/include/asm/fpu.h"

asm/fpu.h uses the __IA64_UL macro which is declared in asm/types.h, so
this include is really required. Without it, GNU libc fails to build.

This reverts commit 2678c07b07ac2076675e5d57653bdf02e9af1950.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Acked-by: Fenghua Yu <fenghua.yu@intel.com>
---

diff --git a/arch/ia64/include/asm/fpu.h b/arch/ia64/include/asm/fpu.h
index 0c26157..b6395ad 100644
--- a/arch/ia64/include/asm/fpu.h
+++ b/arch/ia64/include/asm/fpu.h
@@ -6,6 +6,8 @@
  *	David Mosberger-Tang <davidm@hpl.hp.com>
  */
 
+#include <linux/types.h>
+
 /* floating point status register: */
 #define FPSR_TRAP_VD	(1 << 0)	/* invalid op trap disabled */
 #define FPSR_TRAP_DD	(1 << 1)	/* denormal trap disabled */






                 reply	other threads:[~2009-07-25 17:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=E1MUkcY-0008EK-IZ@stork.gentoo.org \
    --to=halcy0n@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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