Skip to contentSkip to conversation

Convert ia64 to use generic compat_siginfo_t

PATCH In review Kyle McMartin 1 participant 1 message Jan 8, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 2/5 Convert ia64 to use generic compat_siginfo_t

From: Matthew Wilcox <[email protected]>

Convert arch/ia64 to use generic compat_siginfo_t.

---

Tony,

This patch has been sitting in parisc-linux for quite some time. Matthew has been running that tree on his ia64 machines for a while, but I'm not sure how much testing the ia32 emulation received.

 arch/ia64/ia32/ia32_signal.c |    1 +
 arch/ia64/ia32/ia32priv.h    |   52 ------------------------------------------
 include/asm-ia64/compat.h    |    3 ++
 3 files changed, 4 insertions(+), 52 deletions(-)

55f9c468f33f732cc60793aaa4a425384254290c

arch/ia64/ia32/ia32_signal.c +1 -0
index aa891c9..cd76bbb 100644
@@ -24,6 +24,7 @@
 #include <linux/unistd.h>
 #include <linux/wait.h>
 #include <linux/compat.h>
+#include <linux/compat_siginfo.h>
 
 #include <asm/intrinsics.h>
 #include <asm/uaccess.h>
arch/ia64/ia32/ia32priv.h +0 -52

58 lines not on this page · raw message

include/asm-ia64/compat.h +3 -0
index aaf11f4..b96eafa 100644
@@ -15,6 +15,9 @@ typedef s32		compat_key_t;
 typedef s32		compat_pid_t;
 typedef u16		__compat_uid_t;
 typedef u16		__compat_gid_t;
+/* Define for use in compat_siginfo_t */
+#undef __ARCH_SI_COMPAT_UID_T
+#define __ARCH_SI_COMPAT_UID_T	__compat_uid32_t
 typedef u32		__compat_uid32_t;
 typedef u32		__compat_gid32_t;
 typedef u16		compat_mode_t;
Signature · 1 line
1.0.7