diff options
Diffstat (limited to 'arch/parisc/kernel/signal32.h')
| -rw-r--r-- | arch/parisc/kernel/signal32.h | 77 | 
1 files changed, 1 insertions, 76 deletions
diff --git a/arch/parisc/kernel/signal32.h b/arch/parisc/kernel/signal32.h index c7800846422..af51d4ccee4 100644 --- a/arch/parisc/kernel/signal32.h +++ b/arch/parisc/kernel/signal32.h @@ -21,23 +21,6 @@  #include <linux/compat.h> -typedef compat_uptr_t compat_sighandler_t; - -typedef struct compat_sigaltstack { -        compat_uptr_t ss_sp; -        compat_int_t ss_flags; -        compat_size_t ss_size; -} compat_stack_t; - -/* Most things should be clean enough to redefine this at will, if care -   is taken to make libc match.  */ - -struct compat_sigaction { -        compat_sighandler_t sa_handler; -        compat_uint_t sa_flags; -        compat_sigset_t sa_mask;               /* mask last for extensibility */ -}; -  /* 32-bit ucontext as seen from an 64-bit kernel */  struct compat_ucontext {          compat_uint_t uc_flags; @@ -51,63 +34,7 @@ struct compat_ucontext {  /* ELF32 signal handling */ -struct k_sigaction32 { -	struct compat_sigaction sa; -}; - -typedef struct compat_siginfo { -        int si_signo; -        int si_errno; -        int si_code; - -        union { -                int _pad[((128/sizeof(int)) - 3)]; - -                /* kill() */ -                struct { -                        unsigned int _pid;      /* sender's pid */ -                        unsigned int _uid;      /* sender's uid */ -                } _kill; - -                /* POSIX.1b timers */ -                struct { -                        compat_timer_t _tid;            /* timer id */ -                        int _overrun;           /* overrun count */ -                        char _pad[sizeof(unsigned int) - sizeof(int)]; -                        compat_sigval_t _sigval;        /* same as below */ -                        int _sys_private;       /* not to be passed to user */ -                } _timer; - -                /* POSIX.1b signals */ -                struct { -                        unsigned int _pid;      /* sender's pid */ -                        unsigned int _uid;      /* sender's uid */ -                        compat_sigval_t _sigval; -                } _rt; - -                /* SIGCHLD */ -                struct { -                        unsigned int _pid;      /* which child */ -                        unsigned int _uid;      /* sender's uid */ -                        int _status;            /* exit code */ -                        compat_clock_t _utime; -                        compat_clock_t _stime; -                } _sigchld; - -                /* SIGILL, SIGFPE, SIGSEGV, SIGBUS */ -                struct { -                        unsigned int _addr;     /* faulting insn/memory ref. */ -                } _sigfault; - -                /* SIGPOLL */ -                struct { -                        int _band;      /* POLL_IN, POLL_OUT, POLL_MSG */ -                        int _fd; -                } _sigpoll; -        } _sifields; -} compat_siginfo_t; - -int copy_siginfo_to_user32 (compat_siginfo_t __user *to, siginfo_t *from); +int copy_siginfo_to_user32 (compat_siginfo_t __user *to, const siginfo_t *from);  int copy_siginfo_from_user32 (siginfo_t *to, compat_siginfo_t __user *from);  /* In a deft move of uber-hackery, we decide to carry the top half of all @@ -154,8 +81,6 @@ struct compat_rt_sigframe {  void sigset_32to64(sigset_t *s64, compat_sigset_t *s32);  void sigset_64to32(compat_sigset_t *s32, sigset_t *s64); -int do_sigaltstack32 (const compat_stack_t __user *uss32,  -		compat_stack_t __user *uoss32, unsigned long sp);  long restore_sigcontext32(struct compat_sigcontext __user *sc,   		struct compat_regfile __user *rf,  		struct pt_regs *regs);  | 
