sh: Check oops_may_print() in unhandled fault.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 18 Jun 2007 10:02:47 +0000 (19:02 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 18 Jun 2007 10:02:47 +0000 (19:02 +0900)
commit0630e45c887b3d3d8d6ad27af03ec4054926d635
tree251261af762d9f5f7a706ba3e75920f7cb0bccc6
parentfc1d4c9c3761ca8db52b647c6a4ba50771900a12
sh: Check oops_may_print() in unhandled fault.

Only print out pgd/pte data in the oops path if oops_may_print()
holds true. Follows the i386 implementation.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/fault.c