1 /* 2 * Copyright (C) 2001 Matthew Wilcox <willy at parisc-linux.org> 3 * Copyright (C) 2003 Carlos O'Donell <carlos at parisc-linux.org> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 */ 19 #ifndef _PARISC64_KERNEL_SIGNAL32_H 20 #define _PARISC64_KERNEL_SIGNAL32_H 21 22 #include <linux/compat.h> 23 #include <asm/compat_signal.h> 24 #include <asm/compat_rt_sigframe.h> 25 26 /* ELF32 signal handling */ 27 28 struct k_sigaction32 { 29 struct compat_sigaction sa; 30 }; 31 32 void sigset_32to64(sigset_t *s64, compat_sigset_t *s32); 33 void sigset_64to32(compat_sigset_t *s32, sigset_t *s64); 34 int do_sigaltstack32 (const compat_stack_t __user *uss32, 35 compat_stack_t __user *uoss32, unsigned long sp); 36 long restore_sigcontext32(struct compat_sigcontext __user *sc, 37 struct compat_regfile __user *rf, 38 struct pt_regs *regs); 39 long setup_sigcontext32(struct compat_sigcontext __user *sc, 40 struct compat_regfile __user *rf, 41 struct pt_regs *regs, int in_syscall); 42 43 #endif 44