mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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" <[email protected]>
This commit is contained in:
parent
753e5a8543
commit
71ee78d538
3 changed files with 33 additions and 37 deletions
|
|
@ -15,36 +15,4 @@
|
|||
|
||||
#define si_uid16 _sifields._kill._uid
|
||||
|
||||
#define ILL_ILLPARAOP 2 /* illegal opcode combine ********** */
|
||||
#define ILL_ILLEXCPT 4 /* unrecoverable exception ********** */
|
||||
#define ILL_CPLB_VI 9 /* D/I CPLB protect violation ******** */
|
||||
#define ILL_CPLB_MISS 10 /* D/I CPLB miss ******** */
|
||||
#define ILL_CPLB_MULHIT 11 /* D/I CPLB multiple hit ******** */
|
||||
#undef NSIGILL
|
||||
#define NSIGILL 11
|
||||
|
||||
/*
|
||||
* SIGBUS si_codes
|
||||
*/
|
||||
#define BUS_OPFETCH 4 /* error from instruction fetch ******** */
|
||||
#undef NSIGBUS
|
||||
#define NSIGBUS 4
|
||||
|
||||
/*
|
||||
* SIGTRAP si_codes
|
||||
*/
|
||||
#define TRAP_STEP 1 /* single-step breakpoint************* */
|
||||
#define TRAP_TRACEFLOW 2 /* trace buffer overflow ************* */
|
||||
#define TRAP_WATCHPT 3 /* watchpoint match ************* */
|
||||
#define TRAP_ILLTRAP 4 /* illegal trap ************* */
|
||||
#undef NSIGTRAP
|
||||
#define NSIGTRAP 4
|
||||
|
||||
/*
|
||||
* SIGSEGV si_codes
|
||||
*/
|
||||
#define SEGV_STACKFLOW 3 /* stack overflow */
|
||||
#undef NSIGSEGV
|
||||
#define NSIGSEGV 3
|
||||
|
||||
#endif /* _UAPI_BFIN_SIGINFO_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue