blob: 72fd44c85b702ad3c2c78da2e6cf64bc74545d46 [file] [log] [blame]
Chris Zankel9a8fd552005-06-23 22:01:26 -07001/*
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 Zankel9a8fd552005-06-23 22:01:26 -070012#ifndef _XTENSA_SIGNAL_H
13#define _XTENSA_SIGNAL_H
14
David Howells83596722012-10-15 03:55:40 +040015#include <uapi/asm/signal.h>
Chris Zankel9a8fd552005-06-23 22:01:26 -070016
17#ifndef __ASSEMBLY__
Chris Zankel9a8fd552005-06-23 22:01:26 -070018struct 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
25struct k_sigaction {
26 struct sigaction sa;
27};
28
Chris Zankel9a8fd552005-06-23 22:01:26 -070029#include <asm/sigcontext.h>
30#define ptrace_signal_deliver(regs, cookie) do { } while (0)
31
Chris Zankel9a8fd552005-06-23 22:01:26 -070032#endif /* __ASSEMBLY__ */
33#endif /* _XTENSA_SIGNAL_H */