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