diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2008-07-29 15:58:53 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-30 21:54:42 +0100 |
commit | 8854700115ecf8aa6f087aa915b7b6cf18090d39 (patch) | |
tree | 3338d7aed80d715e0576783e0fecf30cc507a9a7 /include/asm-mips/kdebug.h | |
parent | 8d60a903d986ffa26c41f0092320a3b9da20bfaf (diff) | |
download | blackbird-op-linux-8854700115ecf8aa6f087aa915b7b6cf18090d39.tar.gz blackbird-op-linux-8854700115ecf8aa6f087aa915b7b6cf18090d39.zip |
[MIPS] kgdb: add arch support for the kernel's kgdb core
The new kgdb architecture specific handler registers and unregisters
dynamically for exceptions depending on when you configure a kgdb I/O
driver.
Aside from initializing the exceptions earlier in the boot process,
kgdb should have no impact on a device when it is compiled in so long
as an I/O module is not configured for use.
There have been quite a number of contributors during the existence of
this patch (see arch/mips/kernel/kgdb.c). Most recently Jason
re-wrote the mips kgdb logic to use the die notification handlers.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/kdebug.h')
-rw-r--r-- | include/asm-mips/kdebug.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/asm-mips/kdebug.h b/include/asm-mips/kdebug.h index 6ece1b037665..5bf62aafc890 100644 --- a/include/asm-mips/kdebug.h +++ b/include/asm-mips/kdebug.h @@ -1 +1,13 @@ -#include <asm-generic/kdebug.h> +#ifndef _ASM_MIPS_KDEBUG_H +#define _ASM_MIPS_KDEBUG_H + +#include <linux/notifier.h> + +enum die_val { + DIE_OOPS = 1, + DIE_FP, + DIE_TRAP, + DIE_RI, +}; + +#endif /* _ASM_MIPS_KDEBUG_H */ |