xref: /openbmc/linux/arch/mips/include/uapi/asm/siginfo.h (revision 461ba3e7)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3  * This file is subject to the terms and conditions of the GNU General Public
4  * License.  See the file "COPYING" in the main directory of this archive
5  * for more details.
6  *
7  * Copyright (C) 1998, 1999, 2001, 2003 Ralf Baechle
8  * Copyright (C) 2000, 2001 Silicon Graphics, Inc.
9  */
10 #ifndef _UAPI_ASM_SIGINFO_H
11 #define _UAPI_ASM_SIGINFO_H
12 
13 #define __ARCH_SIGEV_PREAMBLE_SIZE (sizeof(long) + 2*sizeof(int))
14 
15 #define __ARCH_HAS_SWAPPED_SIGINFO
16 
17 #include <asm-generic/siginfo.h>
18 
19 /*
20  * si_code values
21  * Again these have been chosen to be IRIX compatible.
22  */
23 #undef SI_ASYNCIO
24 #undef SI_TIMER
25 #undef SI_MESGQ
26 #define SI_ASYNCIO	-2	/* sent by AIO completion */
27 #define SI_TIMER	-3	/* sent by timer expiration */
28 #define SI_MESGQ	-4	/* sent by real time mesq state change */
29 
30 #endif /* _UAPI_ASM_SIGINFO_H */
31