From 73eeff4b7e2c064a75c4fca3ee7d5c152c52cdab Mon Sep 17 00:00:00 2001 From: David Daney Date: Fri, 8 Feb 2013 16:36:51 +0000 Subject: [PATCH] --- yaml --- r: 360024 b: refs/heads/master c: 612663a974065c3445e641d046769fe4c55a6438 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/mips/include/asm/break.h | 26 ++++++++++++++++++++++++ trunk/arch/mips/include/uapi/asm/break.h | 6 +++--- 3 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 trunk/arch/mips/include/asm/break.h diff --git a/[refs] b/[refs] index c1d8678c780a..5fcc03c1b0f9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5b003119ab6a12f03ab6ec43a1c921c9469945a4 +refs/heads/master: 612663a974065c3445e641d046769fe4c55a6438 diff --git a/trunk/arch/mips/include/asm/break.h b/trunk/arch/mips/include/asm/break.h new file mode 100644 index 000000000000..0ef11429a70b --- /dev/null +++ b/trunk/arch/mips/include/asm/break.h @@ -0,0 +1,26 @@ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 1995, 2003 by Ralf Baechle + * Copyright (C) 1999 Silicon Graphics, Inc. + */ +#ifndef __ASM_BREAK_H +#define __ASM_BREAK_H + +#ifdef __UAPI_ASM_BREAK_H +#error "Error: Do not directly include " +#endif +#include + +/* + * Break codes used internally to the kernel. + */ +#define BRK_KDB 513 /* Used in KDB_ENTER() */ +#define BRK_MEMU 514 /* Used by FPU emulator */ +#define BRK_KPROBE_BP 515 /* Kprobe break */ +#define BRK_KPROBE_SSTEPBP 516 /* Kprobe single step software implementation */ +#define BRK_MULOVF 1023 /* Multiply overflow */ + +#endif /* __ASM_BREAK_H */ diff --git a/trunk/arch/mips/include/uapi/asm/break.h b/trunk/arch/mips/include/uapi/asm/break.h index 6f61d08e3d18..002c39ea20c3 100644 --- a/trunk/arch/mips/include/uapi/asm/break.h +++ b/trunk/arch/mips/include/uapi/asm/break.h @@ -6,8 +6,8 @@ * Copyright (C) 1995, 2003 by Ralf Baechle * Copyright (C) 1999 Silicon Graphics, Inc. */ -#ifndef __ASM_BREAK_H -#define __ASM_BREAK_H +#ifndef __UAPI_ASM_BREAK_H +#define __UAPI_ASM_BREAK_H /* * The following break codes are or were in use for specific purposes in @@ -26,4 +26,4 @@ #define BRK_KPROBE_SSTEPBP 516 /* Kprobe single step software implementation */ #define BRK_MULOVF 1023 /* Multiply overflow */ -#endif /* __ASM_BREAK_H */ +#endif /* __UAPI_ASM_BREAK_H */