X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fs390%2Fkernel%2Fcompat_linux.h;h=3898f66d0b2fb26eb905745acadc9c155a1706b4;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=e95b0761d065f5e10c3b66d5d2378a140756e37a;hpb=6a77f38946aaee1cd85eeec6cf4229b204c15071;p=linux-2.6.git diff --git a/arch/s390/kernel/compat_linux.h b/arch/s390/kernel/compat_linux.h index e95b0761d..3898f66d0 100644 --- a/arch/s390/kernel/compat_linux.h +++ b/arch/s390/kernel/compat_linux.h @@ -29,11 +29,6 @@ struct old_sigaction32 { __u32 sa_restorer; /* Another 32 bit pointer */ }; -typedef union sigval32 { - int sival_int; - __u32 sival_ptr; -} sigval_t32; - typedef struct compat_siginfo { int si_signo; int si_errno; @@ -50,9 +45,9 @@ typedef struct compat_siginfo { /* POSIX.1b timers */ struct { - timer_t _tid; /* timer id */ + compat_timer_t _tid; /* timer id */ int _overrun; /* overrun count */ - sigval_t _sigval; /* same as below */ + compat_sigval_t _sigval; /* same as below */ int _sys_private; /* not to be passed to user */ } _timer; @@ -60,7 +55,7 @@ typedef struct compat_siginfo { struct { pid_t _pid; /* sender's pid */ uid_t _uid; /* sender's uid */ - sigval_t32 _sigval; + compat_sigval_t _sigval; } _rt; /* SIGCHLD */ @@ -199,22 +194,4 @@ struct ucontext32 { compat_sigset_t uc_sigmask; /* mask last for extensibility */ }; -#define SIGEV_PAD_SIZE32 ((SIGEV_MAX_SIZE/sizeof(int)) - 3) -struct sigevent32 { - union { - int sival_int; - u32 sival_ptr; - } sigev_value; - int sigev_signo; - int sigev_notify; - union { - int _pad[SIGEV_PAD_SIZE32]; - int _tid; - struct { - u32 *_function; - u32 *_attribute; - } _sigev_thread; - } _sigev_un; -}; - #endif /* _ASM_S390X_S390_H */