Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[MIPS] Delete duplicate definitions of break codes. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

-21
-21
include/asm-mips/signal.h
··· 155 155 #ifdef __KERNEL__ 156 156 #include <asm/sigcontext.h> 157 157 158 - /* 159 - * The following break codes are or were in use for specific purposes in 160 - * other MIPS operating systems. Linux/MIPS doesn't use all of them. The 161 - * unused ones are here as placeholders; we might encounter them in 162 - * non-Linux/MIPS object files or make use of them in the future. 163 - */ 164 - #define BRK_USERBP 0 /* User bp (used by debuggers) */ 165 - #define BRK_KERNELBP 1 /* Break in the kernel */ 166 - #define BRK_ABORT 2 /* Sometimes used by abort(3) to SIGIOT */ 167 - #define BRK_BD_TAKEN 3 /* For bd slot emulation - not implemented */ 168 - #define BRK_BD_NOTTAKEN 4 /* For bd slot emulation - not implemented */ 169 - #define BRK_SSTEPBP 5 /* User bp (used by debuggers) */ 170 - #define BRK_OVERFLOW 6 /* Overflow check */ 171 - #define BRK_DIVZERO 7 /* Divide by zero check */ 172 - #define BRK_RANGE 8 /* Range error check */ 173 - #define BRK_STACKOVERFLOW 9 /* For Ada stackchecking */ 174 - #define BRK_NORLD 10 /* No rld found - not used by Linux/MIPS */ 175 - #define _BRK_THREADBP 11 /* For threads, user bp (used by debuggers) */ 176 - #define BRK_MULOVF 1023 /* Multiply overflow */ 177 - #define BRK_BUG 512 /* Used by BUG() */ 178 - 179 158 #define ptrace_signal_deliver(regs, cookie) do { } while (0) 180 159 181 160 #endif /* __KERNEL__ */