diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2018-01-13 19:25:09 -0500 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2018-01-15 18:42:35 -0500 |
commit | 71ee78d538a7bcb7a876dcbd65eb73627425df6f (patch) | |
tree | 8f68f79851b83c3b1f28c9a523cbd4126ea7cccd /arch/blackfin | |
parent | 753e5a8543dae136142751961bb18ff25b0062dc (diff) |
signal/blackfin: Move the blackfin specific si_codes to asm-generic/siginfo.h
Having si_codes in many different files simply encourages duplicate definitions
that can cause problems later. To avoid that merge the blackfin specific si_codes
into uapi/asm-generic/siginfo.h
Update copy_siginfo_to_user to copy with the absence of BUS_MCEERR_AR that blackfin
defines to be something else.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/include/uapi/asm/siginfo.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/arch/blackfin/include/uapi/asm/siginfo.h b/arch/blackfin/include/uapi/asm/siginfo.h index b1db506c8d2e..8c505170f4d0 100644 --- a/arch/blackfin/include/uapi/asm/siginfo.h +++ b/arch/blackfin/include/uapi/asm/siginfo.h | |||
@@ -15,36 +15,4 @@ | |||
15 | 15 | ||
16 | #define si_uid16 _sifields._kill._uid | 16 | #define si_uid16 _sifields._kill._uid |
17 | 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 */ | 18 | #endif /* _UAPI_BFIN_SIGINFO_H */ |