|
@@ -413,8 +413,9 @@ good_area:
|
|
* that here.
|
|
* that here.
|
|
*/
|
|
*/
|
|
if ((fault_code & FAULT_CODE_ITLB) && !(vma->vm_flags & VM_EXEC)) {
|
|
if ((fault_code & FAULT_CODE_ITLB) && !(vma->vm_flags & VM_EXEC)) {
|
|
- BUG_ON(address != regs->tpc);
|
|
|
|
- BUG_ON(regs->tstate & TSTATE_PRIV);
|
|
|
|
|
|
+ WARN(address != regs->tpc,
|
|
|
|
+ "address (%lx) != regs->tpc (%lx)\n", address, regs->tpc);
|
|
|
|
+ WARN_ON(regs->tstate & TSTATE_PRIV);
|
|
goto bad_area;
|
|
goto bad_area;
|
|
}
|
|
}
|
|
|
|
|