public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in src/patchsets/gentoo-headers/2.6.30: 0010-ia64-include-linux-types.patch
@ 2009-07-25 17:01 Mark Loeser (halcy0n)
  0 siblings, 0 replies; only message in thread
From: Mark Loeser (halcy0n) @ 2009-07-25 17:01 UTC (permalink / raw
  To: gentoo-commits

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 */






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-25 17:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-25 17:01 [gentoo-commits] gentoo commit in src/patchsets/gentoo-headers/2.6.30: 0010-ia64-include-linux-types.patch Mark Loeser (halcy0n)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox