From: Carlos O'Donell <[email protected]>
Define types needed for generic compat_siginfo_t on s390 and sparc64.
Signed-off-by: Carlos O'Donell <[email protected]>
Signed-off-by: Kyle McMartin <[email protected]>
---
include/asm-s390/compat.h | 3 +++
include/asm-sparc64/compat.h | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
c5833cf4215cfbab87f83d32520251da5631355f
diff --git a/include/asm-s390/compat.h b/include/asm-s390/compat.h
index a007715..38b1165 100644
--- a/include/asm-s390/compat.h
+++ b/include/asm-s390/compat.h
@@ -15,6 +15,9 @@ typedef s32 compat_clock_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;
diff --git a/include/asm-sparc64/compat.h b/include/asm-sparc64/compat.h
index c73935d..06fbfb8 100644
--- a/include/asm-sparc64/compat.h
+++ b/include/asm-sparc64/compat.h
@@ -14,6 +14,9 @@ typedef s32 compat_clock_t;
typedef s32 compat_pid_t;
typedef u16 __compat_uid_t;
typedef u16 __compat_gid_t;
+/* Define for use in the compat_siginfo_t */
+#undef __ARCH_SI_COMPAT_UID_T
+#define __ARCH_SI_COMPAT_UID_T compat_uint_t
typedef u32 __compat_uid32_t;
typedef u32 __compat_gid32_t;
typedef u16 compat_mode_t;
--
1.0.7
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]