Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* |
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 | ||
61730c53 | 12 | #include <uapi/asm/signal.h> |
1da177e4 | 13 | |
7939469d LY |
14 | #ifdef CONFIG_MIPS32_COMPAT |
15 | extern struct mips_abi mips_abi_32; | |
e50c0a8f | 16 | |
7939469d LY |
17 | #define sig_uses_siginfo(ka, abi) \ |
18 | ((abi != &mips_abi_32) ? 1 : \ | |
19 | ((ka)->sa.sa_flags & SA_SIGINFO)) | |
e50c0a8f | 20 | #else |
7939469d LY |
21 | #define sig_uses_siginfo(ka, abi) \ |
22 | (config_enabled(CONFIG_64BIT) ? 1 : \ | |
23 | (config_enabled(CONFIG_TRAD_SIGNALS) ? \ | |
24 | ((ka)->sa.sa_flags & SA_SIGINFO) : 1) ) | |
e50c0a8f RB |
25 | #endif |
26 | ||
1da177e4 | 27 | #include <asm/sigcontext.h> |
9c6031cc | 28 | #include <asm/siginfo.h> |
1da177e4 | 29 | |
2a148698 | 30 | #define __ARCH_HAS_IRIX_SIGACTION |
574c4866 | 31 | |
d02a40af PB |
32 | extern int protected_save_fp_context(void __user *sc); |
33 | extern int protected_restore_fp_context(void __user *sc); | |
34 | ||
1da177e4 | 35 | #endif /* _ASM_SIGNAL_H */ |