2005-04-17 05:20:36 +07:00
|
|
|
/*
|
|
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
|
|
* for more details.
|
|
|
|
*
|
|
|
|
* Copyright (C) 1995, 96, 97, 98, 99, 2003 by Ralf Baechle
|
|
|
|
* Copyright (C) 1999 Silicon Graphics, Inc.
|
|
|
|
*/
|
|
|
|
#ifndef _ASM_SIGNAL_H
|
|
|
|
#define _ASM_SIGNAL_H
|
|
|
|
|
2012-10-09 15:47:14 +07:00
|
|
|
#include <uapi/asm/signal.h>
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2005-05-31 18:49:19 +07:00
|
|
|
|
|
|
|
#ifdef CONFIG_TRAD_SIGNALS
|
|
|
|
#define sig_uses_siginfo(ka) ((ka)->sa.sa_flags & SA_SIGINFO)
|
|
|
|
#else
|
|
|
|
#define sig_uses_siginfo(ka) (1)
|
|
|
|
#endif
|
|
|
|
|
2005-04-17 05:20:36 +07:00
|
|
|
#include <asm/sigcontext.h>
|
2006-02-19 21:46:44 +07:00
|
|
|
#include <asm/siginfo.h>
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2013-03-19 21:00:53 +07:00
|
|
|
#define __ARCH_HAS_IRIX_SIGACTION
|
2012-11-26 10:24:19 +07:00
|
|
|
|
2015-07-28 02:58:18 +07:00
|
|
|
extern int protected_save_fp_context(void __user *sc);
|
|
|
|
extern int protected_restore_fp_context(void __user *sc);
|
|
|
|
|
2005-04-17 05:20:36 +07:00
|
|
|
#endif /* _ASM_SIGNAL_H */
|