diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/include/asm/break.h | 26 | ||||
-rw-r--r-- | arch/mips/include/uapi/asm/break.h | 6 |
2 files changed, 29 insertions, 3 deletions
diff --git a/arch/mips/include/asm/break.h b/arch/mips/include/asm/break.h new file mode 100644 index 000000000000..0ef11429a70b --- /dev/null +++ b/arch/mips/include/asm/break.h | |||
@@ -0,0 +1,26 @@ | |||
1 | /* | ||
2 | * This file is subject to the terms and conditions of the GNU General Public | ||
3 | * License. See the file "COPYING" in the main directory of this archive | ||
4 | * for more details. | ||
5 | * | ||
6 | * Copyright (C) 1995, 2003 by Ralf Baechle | ||
7 | * Copyright (C) 1999 Silicon Graphics, Inc. | ||
8 | */ | ||
9 | #ifndef __ASM_BREAK_H | ||
10 | #define __ASM_BREAK_H | ||
11 | |||
12 | #ifdef __UAPI_ASM_BREAK_H | ||
13 | #error "Error: Do not directly include <uapi/asm/break.h>" | ||
14 | #endif | ||
15 | #include <uapi/asm/break.h> | ||
16 | |||
17 | /* | ||
18 | * Break codes used internally to the kernel. | ||
19 | */ | ||
20 | #define BRK_KDB 513 /* Used in KDB_ENTER() */ | ||
21 | #define BRK_MEMU 514 /* Used by FPU emulator */ | ||
22 | #define BRK_KPROBE_BP 515 /* Kprobe break */ | ||
23 | #define BRK_KPROBE_SSTEPBP 516 /* Kprobe single step software implementation */ | ||
24 | #define BRK_MULOVF 1023 /* Multiply overflow */ | ||
25 | |||
26 | #endif /* __ASM_BREAK_H */ | ||
diff --git a/arch/mips/include/uapi/asm/break.h b/arch/mips/include/uapi/asm/break.h index 6f61d08e3d18..002c39ea20c3 100644 --- a/arch/mips/include/uapi/asm/break.h +++ b/arch/mips/include/uapi/asm/break.h | |||
@@ -6,8 +6,8 @@ | |||
6 | * Copyright (C) 1995, 2003 by Ralf Baechle | 6 | * Copyright (C) 1995, 2003 by Ralf Baechle |
7 | * Copyright (C) 1999 Silicon Graphics, Inc. | 7 | * Copyright (C) 1999 Silicon Graphics, Inc. |
8 | */ | 8 | */ |
9 | #ifndef __ASM_BREAK_H | 9 | #ifndef __UAPI_ASM_BREAK_H |
10 | #define __ASM_BREAK_H | 10 | #define __UAPI_ASM_BREAK_H |
11 | 11 | ||
12 | /* | 12 | /* |
13 | * The following break codes are or were in use for specific purposes in | 13 | * The following break codes are or were in use for specific purposes in |
@@ -26,4 +26,4 @@ | |||
26 | #define BRK_KPROBE_SSTEPBP 516 /* Kprobe single step software implementation */ | 26 | #define BRK_KPROBE_SSTEPBP 516 /* Kprobe single step software implementation */ |
27 | #define BRK_MULOVF 1023 /* Multiply overflow */ | 27 | #define BRK_MULOVF 1023 /* Multiply overflow */ |
28 | 28 | ||
29 | #endif /* __ASM_BREAK_H */ | 29 | #endif /* __UAPI_ASM_BREAK_H */ |