Chris Zankel | 9a8fd55 | 2005-06-23 22:01:26 -0700 | [diff] [blame] | 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 | */ |
Chris Zankel | 9a8fd55 | 2005-06-23 22:01:26 -0700 | [diff] [blame] | 12 | #ifndef _XTENSA_SIGNAL_H |
| 13 | #define _XTENSA_SIGNAL_H |
| 14 | |
David Howells | 8359672 | 2012-10-15 03:55:40 +0400 | [diff] [blame^] | 15 | #include <uapi/asm/signal.h> |
Chris Zankel | 9a8fd55 | 2005-06-23 22:01:26 -0700 | [diff] [blame] | 16 | |
| 17 | #ifndef __ASSEMBLY__ |
Chris Zankel | 9a8fd55 | 2005-06-23 22:01:26 -0700 | [diff] [blame] | 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 | |
Chris Zankel | 9a8fd55 | 2005-06-23 22:01:26 -0700 | [diff] [blame] | 29 | #include <asm/sigcontext.h> |
| 30 | #define ptrace_signal_deliver(regs, cookie) do { } while (0) |
| 31 | |
Chris Zankel | 9a8fd55 | 2005-06-23 22:01:26 -0700 | [diff] [blame] | 32 | #endif /* __ASSEMBLY__ */ |
| 33 | #endif /* _XTENSA_SIGNAL_H */ |