Commit 322d9100 authored by Pete Zaitcev's avatar Pete Zaitcev Committed by David S. Miller

[SPARC]: When sun4c OOPSes, do not watchdog reset by accident.

parent 4c365135
......@@ -422,6 +422,12 @@ asmlinkage void do_sun4c_fault(struct pt_regs *regs, int text_fault, int write,
}
}
if (!mm) {
/* We are oopsing. */
do_sparc_fault(regs, text_fault, write, address);
BUG(); /* P3 Oops already, you bitch */
}
pgdp = pgd_offset(mm, address);
ptep = sun4c_pte_offset_kernel((pmd_t *) pgdp, address);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment