These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / arch / sparc / mm / fault_64.c
index e9268ea..dbabe57 100644 (file)
@@ -413,8 +413,9 @@ good_area:
         * that here.
         */
        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;
        }