Commit f2ddba8c authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Linus Torvalds

[PATCH] parisc: Remove isr verification

Remove isr verification printf. This is not needed, and was never needed,
we always have access to the page if we made it past the security check
in traps.c
Committed-by: default avatarCarlos O'Donell <carlos@parisc-linux.org>
parent 1c48fbec
...@@ -492,7 +492,6 @@ void handle_unaligned(struct pt_regs *regs) ...@@ -492,7 +492,6 @@ void handle_unaligned(struct pt_regs *regs)
show_regs(regs); show_regs(regs);
#endif #endif
} }
if (!unaligned_enabled) if (!unaligned_enabled)
goto force_sigbus; goto force_sigbus;
} }
...@@ -557,16 +556,6 @@ void handle_unaligned(struct pt_regs *regs) ...@@ -557,16 +556,6 @@ void handle_unaligned(struct pt_regs *regs)
break; break;
} }
if (regs->isr != regs->sr[7])
{
printk(KERN_CRIT "isr verification failed (isr: " RFMT ", sr7: " RFMT "\n",
regs->isr, regs->sr[7]);
/* don't kill him though, since he has appropriate access to the page, or we
* would never have gotten here.
*/
}
/* TODO: make this cleaner... */ /* TODO: make this cleaner... */
switch (regs->iir & OPCODE1_MASK) switch (regs->iir & OPCODE1_MASK)
{ {
......
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