Explorar o código

[MIPS] kgdb: Do not call fixup_exception

kgdb_mips_notify is called on IBE/DBE/FPE/BP/TRAP/RI exception.  None
of them need fixup.  And doing fixup for a breakpoint exception will
confuse gdb.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Atsushi Nemoto %!s(int64=17) %!d(string=hai) anos
pai
achega
b895760dfb
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      arch/mips/kernel/kgdb.c

+ 0 - 3
arch/mips/kernel/kgdb.c

@@ -190,9 +190,6 @@ static int kgdb_mips_notify(struct notifier_block *self, unsigned long cmd,
 	struct pt_regs *regs = args->regs;
 	struct pt_regs *regs = args->regs;
 	int trap = (regs->cp0_cause & 0x7c) >> 2;
 	int trap = (regs->cp0_cause & 0x7c) >> 2;
 
 
-	if (fixup_exception(regs))
-		return NOTIFY_DONE;
-
 	/* Userpace events, ignore. */
 	/* Userpace events, ignore. */
 	if (user_mode(regs))
 	if (user_mode(regs))
 		return NOTIFY_DONE;
 		return NOTIFY_DONE;