Skip to contentSkip to conversation

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

PATCH Superseded Aurelien Jarno 1 participant 2 messages Jul 12, 2009 – Jul 13, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 arch/ia64/include/asm/fpu.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/ia64/include/asm/fpu.h +2 -0
index 0c26157..b6395ad 100644
@@ -6,6 +6,8 @@
  *	David Mosberger-Tang <[email protected]>
  */
 
+#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 */
Signature · 5 lines
1.6.1.3

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net
#1 lore raw

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

Sorry forget to add a S-o-B tag. Please find a new version below.

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.

---
 arch/ia64/include/asm/fpu.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/ia64/include/asm/fpu.h +2 -0
index 0c26157..b6395ad 100644
@@ -6,6 +6,8 @@
  *	David Mosberger-Tang <[email protected]>
  */
 
+#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 */
Signature · 5 lines
1.6.1.3

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net