]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/mips/kernel/kgdb.c
[MIPS] kgdb: Do not call fixup_exception
[linux-2.6-omap-h63xx.git] / arch / mips / kernel / kgdb.c
index c5a8b2d21ca4c0b76dd71d5097a2eb20e596dc0a..8f6d58ede33cea5f42424fb27becd432e7b1f7b3 100644 (file)
@@ -62,13 +62,13 @@ void arch_kgdb_breakpoint(void)
 
 static void kgdb_call_nmi_hook(void *ignored)
 {
-       kgdb_nmicallback(raw_smp_processor_id(), (void *)0);
+       kgdb_nmicallback(raw_smp_processor_id(), NULL);
 }
 
 void kgdb_roundup_cpus(unsigned long flags)
 {
        local_irq_enable();
-       smp_call_function(kgdb_call_nmi_hook, NULL, NULL);
+       smp_call_function(kgdb_call_nmi_hook, NULL, 0);
        local_irq_disable();
 }
 
@@ -190,9 +190,6 @@ static int kgdb_mips_notify(struct notifier_block *self, unsigned long cmd,
        struct pt_regs *regs = args->regs;
        int trap = (regs->cp0_cause & 0x7c) >> 2;
 
-       if (fixup_exception(regs))
-               return NOTIFY_DONE;
-
        /* Userpace events, ignore. */
        if (user_mode(regs))
                return NOTIFY_DONE;