aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-06-23 03:10:14 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-23 12:45:32 -0400
commit0d77e5a2c23da734f5a7925f64afa1c2ed92e0f9 (patch)
tree1696bd7881e36381b9cdaafe713c413202727228 /arch
parentfa912bcb06d5dc9525d8912a145db2bf4b7668c5 (diff)
[PATCH] compat: introduce compat_time_t
This patch is based on work by Carlos O'Donell and Matthew Wilcox. It introduces/updates the compat_time_t type and uses it for compat siginfo structures. I have built this on ppc64 and x86_64. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/ia64/ia32/ia32priv.h2
-rw-r--r--arch/s390/kernel/compat_linux.h2
-rw-r--r--arch/sparc64/kernel/signal32.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/ia64/ia32/ia32priv.h b/arch/ia64/ia32/ia32priv.h
index b2de948bdaea..e3e9290e3ff2 100644
--- a/arch/ia64/ia32/ia32priv.h
+++ b/arch/ia64/ia32/ia32priv.h
@@ -241,7 +241,7 @@ typedef struct compat_siginfo {
241 241
242 /* POSIX.1b timers */ 242 /* POSIX.1b timers */
243 struct { 243 struct {
244 timer_t _tid; /* timer id */ 244 compat_timer_t _tid; /* timer id */
245 int _overrun; /* overrun count */ 245 int _overrun; /* overrun count */
246 char _pad[sizeof(unsigned int) - sizeof(int)]; 246 char _pad[sizeof(unsigned int) - sizeof(int)];
247 compat_sigval_t _sigval; /* same as below */ 247 compat_sigval_t _sigval; /* same as below */
diff --git a/arch/s390/kernel/compat_linux.h b/arch/s390/kernel/compat_linux.h
index bf33dcfec7db..3898f66d0b2f 100644
--- a/arch/s390/kernel/compat_linux.h
+++ b/arch/s390/kernel/compat_linux.h
@@ -45,7 +45,7 @@ typedef struct compat_siginfo {
45 45
46 /* POSIX.1b timers */ 46 /* POSIX.1b timers */
47 struct { 47 struct {
48 timer_t _tid; /* timer id */ 48 compat_timer_t _tid; /* timer id */
49 int _overrun; /* overrun count */ 49 int _overrun; /* overrun count */
50 compat_sigval_t _sigval; /* same as below */ 50 compat_sigval_t _sigval; /* same as below */
51 int _sys_private; /* not to be passed to user */ 51 int _sys_private; /* not to be passed to user */
diff --git a/arch/sparc64/kernel/signal32.c b/arch/sparc64/kernel/signal32.c
index 9a375e975cff..f28428f4170e 100644
--- a/arch/sparc64/kernel/signal32.c
+++ b/arch/sparc64/kernel/signal32.c
@@ -102,7 +102,7 @@ typedef struct compat_siginfo{
102 102
103 /* POSIX.1b timers */ 103 /* POSIX.1b timers */
104 struct { 104 struct {
105 timer_t _tid; /* timer id */ 105 compat_timer_t _tid; /* timer id */
106 int _overrun; /* overrun count */ 106 int _overrun; /* overrun count */
107 compat_sigval_t _sigval; /* same as below */ 107 compat_sigval_t _sigval; /* same as below */
108 int _sys_private; /* not to be passed to user */ 108 int _sys_private; /* not to be passed to user */