blob: 197f6367c201c122171b7e81cbcebc328a683a7f [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 1995, 96, 97, 98, 99, 2003 by Ralf Baechle
7 * Copyright (C) 1999 Silicon Graphics, Inc.
8 */
9#ifndef _ASM_SIGNAL_H
10#define _ASM_SIGNAL_H
11
David Howells61730c52012-10-09 09:47:14 +010012#include <uapi/asm/signal.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
Ralf Baechlee50c0a82005-05-31 11:49:19 +000014
Ralf Baechlee50c0a82005-05-31 11:49:19 +000015#ifdef CONFIG_TRAD_SIGNALS
16#define sig_uses_siginfo(ka) ((ka)->sa.sa_flags & SA_SIGINFO)
17#else
18#define sig_uses_siginfo(ka) (1)
19#endif
20
Linus Torvalds1da177e2005-04-16 15:20:36 -070021#include <asm/sigcontext.h>
Atsushi Nemoto9c6031c2006-02-19 23:46:44 +090022#include <asm/siginfo.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070023
Al Viro574c4862012-11-25 22:24:19 -050024#define __ARCH_HAS_ODD_SIGACTION
25
Linus Torvalds1da177e2005-04-16 15:20:36 -070026#endif /* _ASM_SIGNAL_H */