diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2013-01-24 16:01:48 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-02-15 17:07:38 -0500 |
commit | 5b003119ab6a12f03ab6ec43a1c921c9469945a4 (patch) | |
tree | 1936e89d828d3c9a9b0ddcbd0a1b4b62022e7dde /arch/mips | |
parent | 8e8dc33543504830e6444607ba856e60679995f1 (diff) |
MIPS: Cleanup break and trap codes.
Very ancient out-of-tree KDB versions were using BRK_KDB code but it's
unused in modern kernels since a long time. Delete it.
The microMIPS encoding only reserves 4 bits for a trap code so it's time
for further weedkilling.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/include/uapi/asm/break.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/mips/include/uapi/asm/break.h b/arch/mips/include/uapi/asm/break.h index 73455e9be7a8..6f61d08e3d18 100644 --- a/arch/mips/include/uapi/asm/break.h +++ b/arch/mips/include/uapi/asm/break.h | |||
@@ -16,19 +16,11 @@ | |||
16 | * non-Linux/MIPS object files or make use of them in the future. | 16 | * non-Linux/MIPS object files or make use of them in the future. |
17 | */ | 17 | */ |
18 | #define BRK_USERBP 0 /* User bp (used by debuggers) */ | 18 | #define BRK_USERBP 0 /* User bp (used by debuggers) */ |
19 | #define BRK_KERNELBP 1 /* Break in the kernel */ | ||
20 | #define BRK_ABORT 2 /* Sometimes used by abort(3) to SIGIOT */ | ||
21 | #define BRK_BD_TAKEN 3 /* For bd slot emulation - not implemented */ | ||
22 | #define BRK_BD_NOTTAKEN 4 /* For bd slot emulation - not implemented */ | ||
23 | #define BRK_SSTEPBP 5 /* User bp (used by debuggers) */ | 19 | #define BRK_SSTEPBP 5 /* User bp (used by debuggers) */ |
24 | #define BRK_OVERFLOW 6 /* Overflow check */ | 20 | #define BRK_OVERFLOW 6 /* Overflow check */ |
25 | #define BRK_DIVZERO 7 /* Divide by zero check */ | 21 | #define BRK_DIVZERO 7 /* Divide by zero check */ |
26 | #define BRK_RANGE 8 /* Range error check */ | 22 | #define BRK_RANGE 8 /* Range error check */ |
27 | #define BRK_STACKOVERFLOW 9 /* For Ada stackchecking */ | ||
28 | #define BRK_NORLD 10 /* No rld found - not used by Linux/MIPS */ | ||
29 | #define _BRK_THREADBP 11 /* For threads, user bp (used by debuggers) */ | ||
30 | #define BRK_BUG 12 /* Used by BUG() */ | 23 | #define BRK_BUG 12 /* Used by BUG() */ |
31 | #define BRK_KDB 513 /* Used in KDB_ENTER() */ | ||
32 | #define BRK_MEMU 514 /* Used by FPU emulator */ | 24 | #define BRK_MEMU 514 /* Used by FPU emulator */ |
33 | #define BRK_KPROBE_BP 515 /* Kprobe break */ | 25 | #define BRK_KPROBE_BP 515 /* Kprobe break */ |
34 | #define BRK_KPROBE_SSTEPBP 516 /* Kprobe single step software implementation */ | 26 | #define BRK_KPROBE_SSTEPBP 516 /* Kprobe single step software implementation */ |