diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-12-11 18:46:46 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-12-22 18:44:04 +0900 |
commit | ab6e570ba33dbee18c2520d386e0f367a9b573c3 (patch) | |
tree | 7594192d10726e72bf7744bb83bdc0c9a30891d1 /arch/sh/mm | |
parent | d7b01f78a3ae6a3cc21a16a1a3d377adc2227537 (diff) | |
download | op-kernel-dev-ab6e570ba33dbee18c2520d386e0f367a9b573c3.zip op-kernel-dev-ab6e570ba33dbee18c2520d386e0f367a9b573c3.tar.gz |
sh: Generic kgdb stub support.
This migrates from the old bitrotted kgdb stub implementation and moves
to the generic stub. In the process support for SH-2/SH-2A is also added,
which the old stub never provided.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm')
-rw-r--r-- | arch/sh/mm/fault_32.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/sh/mm/fault_32.c b/arch/sh/mm/fault_32.c index e587268..31a33eb 100644 --- a/arch/sh/mm/fault_32.c +++ b/arch/sh/mm/fault_32.c @@ -20,7 +20,6 @@ #include <asm/system.h> #include <asm/mmu_context.h> #include <asm/tlbflush.h> -#include <asm/kgdb.h> /* * This routine handles page faults. It determines the address, @@ -282,11 +281,6 @@ asmlinkage int __kprobes __do_page_fault(struct pt_regs *regs, if (notify_page_fault(regs, lookup_exception_vector())) goto out; -#ifdef CONFIG_SH_KGDB - if (kgdb_nofault && kgdb_bus_err_hook) - kgdb_bus_err_hook(); -#endif - ret = 1; /* |