signal.h (92a3ce4a1e0047215aa0a0b30cc333bd32b866a8) signal.h (574c4866e33d648520a8bd5bf6f573ea6e554e88)
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__
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__
18struct 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};
18#define __ARCH_HAS_SA_RESTORER
24
25#include <asm/sigcontext.h>
26
27#endif /* __ASSEMBLY__ */
28#endif /* _XTENSA_SIGNAL_H */
19
20#include <asm/sigcontext.h>
21
22#endif /* __ASSEMBLY__ */
23#endif /* _XTENSA_SIGNAL_H */