diff options
author | Bryan Wu <cooloney@kernel.org> | 2008-08-26 22:51:02 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-08-26 22:51:02 -0400 |
commit | 639f6571458948b5112be2cf00c0c2c04db2897d (patch) | |
tree | a4dd7af33d0e92c935ba1e904f6fb7e923ac825e /arch/blackfin/include/asm/siginfo.h | |
parent | 3d9b7a5ce534f3963afcf8f4777267e5899fe007 (diff) |
Blackfin arch: move include/asm-blackfin header files to arch/blackfin
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/include/asm/siginfo.h')
-rw-r--r-- | arch/blackfin/include/asm/siginfo.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/siginfo.h b/arch/blackfin/include/asm/siginfo.h new file mode 100644 index 000000000000..eca4565cea37 --- /dev/null +++ b/arch/blackfin/include/asm/siginfo.h | |||
@@ -0,0 +1,35 @@ | |||
1 | #ifndef _BFIN_SIGINFO_H | ||
2 | #define _BFIN_SIGINFO_H | ||
3 | |||
4 | #include <linux/types.h> | ||
5 | #include <asm-generic/siginfo.h> | ||
6 | |||
7 | #define UID16_SIGINFO_COMPAT_NEEDED | ||
8 | |||
9 | #define si_uid16 _sifields._kill._uid | ||
10 | |||
11 | #define ILL_ILLPARAOP (__SI_FAULT|2) /* illegal opcode combine ********** */ | ||
12 | #define ILL_ILLEXCPT (__SI_FAULT|4) /* unrecoverable exception ********** */ | ||
13 | #define ILL_CPLB_VI (__SI_FAULT|9) /* D/I CPLB protect violation ******** */ | ||
14 | #define ILL_CPLB_MISS (__SI_FAULT|10) /* D/I CPLB miss ******** */ | ||
15 | #define ILL_CPLB_MULHIT (__SI_FAULT|11) /* D/I CPLB multiple hit ******** */ | ||
16 | |||
17 | /* | ||
18 | * SIGBUS si_codes | ||
19 | */ | ||
20 | #define BUS_OPFETCH (__SI_FAULT|4) /* error from instruction fetch ******** */ | ||
21 | |||
22 | /* | ||
23 | * SIGTRAP si_codes | ||
24 | */ | ||
25 | #define TRAP_STEP (__SI_FAULT|1) /* single-step breakpoint************* */ | ||
26 | #define TRAP_TRACEFLOW (__SI_FAULT|2) /* trace buffer overflow ************* */ | ||
27 | #define TRAP_WATCHPT (__SI_FAULT|3) /* watchpoint match ************* */ | ||
28 | #define TRAP_ILLTRAP (__SI_FAULT|4) /* illegal trap ************* */ | ||
29 | |||
30 | /* | ||
31 | * SIGSEGV si_codes | ||
32 | */ | ||
33 | #define SEGV_STACKFLOW (__SI_FAULT|3) /* stack overflow */ | ||
34 | |||
35 | #endif | ||