1 /* 2 * include/asm-xtensa/signal.h 3 * 4 * Swiped from SH. 5 * 6 * This file is subject to the terms and conditions of the GNU General Public 7 * License. See the file "COPYING" in the main directory of this archive 8 * for more details. 9 * 10 * Copyright (C) 2001 - 2005 Tensilica Inc. 11 */ 12 #ifndef _XTENSA_SIGNAL_H 13 #define _XTENSA_SIGNAL_H 14 15 #include <uapi/asm/signal.h> 16 17 #ifndef __ASSEMBLY__ 18 struct sigaction { 19 __sighandler_t sa_handler; 20 unsigned long sa_flags; 21 void (*sa_restorer)(void); 22 sigset_t sa_mask; /* mask last for extensibility */ 23 }; 24 25 struct k_sigaction { 26 struct sigaction sa; 27 }; 28 29 #include <asm/sigcontext.h> 30 31 #endif /* __ASSEMBLY__ */ 32 #endif /* _XTENSA_SIGNAL_H */ 33