Merge remote-tracking branch 'asoc/topic/component' into asoc-next
[sfrench/cifs-2.6.git] / arch / blackfin / include / uapi / asm / siginfo.h
1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
2 /*
3  * Copyright 2004-2008 Analog Devices Inc.
4  *
5  * Licensed under the GPL-2 or later.
6  */
7
8 #ifndef _UAPI_BFIN_SIGINFO_H
9 #define _UAPI_BFIN_SIGINFO_H
10
11 #include <linux/types.h>
12 #include <asm-generic/siginfo.h>
13
14 #define UID16_SIGINFO_COMPAT_NEEDED
15
16 #define si_uid16        _sifields._kill._uid
17
18 #define ILL_ILLPARAOP   2       /* illegal opcode combine ********** */
19 #define ILL_ILLEXCPT    4       /* unrecoverable exception ********** */
20 #define ILL_CPLB_VI     9       /* D/I CPLB protect violation ******** */
21 #define ILL_CPLB_MISS   10      /* D/I CPLB miss ******** */
22 #define ILL_CPLB_MULHIT 11      /* D/I CPLB multiple hit ******** */
23 #undef NSIGILL
24 #define NSIGILL         11
25
26 /*
27  * SIGBUS si_codes
28  */
29 #define BUS_OPFETCH     4       /* error from instruction fetch ******** */
30 #undef NSIGBUS
31 #define NSIGBUS         4
32
33 /*
34  * SIGTRAP si_codes
35  */
36 #define TRAP_STEP       1       /* single-step breakpoint************* */
37 #define TRAP_TRACEFLOW  2       /* trace buffer overflow ************* */
38 #define TRAP_WATCHPT    3       /* watchpoint match      ************* */
39 #define TRAP_ILLTRAP    4       /* illegal trap          ************* */
40 #undef NSIGTRAP
41 #define NSIGTRAP        4
42
43 /*
44  * SIGSEGV si_codes
45  */
46 #define SEGV_STACKFLOW  3       /* stack overflow */
47 #undef NSIGSEGV
48 #define NSIGSEGV        3
49
50 #endif /* _UAPI_BFIN_SIGINFO_H */