MIPS: Don't corrupt page tables on vmalloc fault.
authorDavid Daney <ddaney@caviumnetworks.com>
Wed, 2 Sep 2009 22:47:34 +0000 (15:47 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 17 Sep 2009 18:07:52 +0000 (20:07 +0200)
commit2ca2ebfd952d0338a0972c1f1f56b9b0c1a3b09c
tree6a43cd0634d9eb6d2fd1247b89b309d97095d698
parente0cc87f59490d7d62a8ab2a76498dc8a2b64927a
MIPS: Don't corrupt page tables on vmalloc fault.

The code after the vmalloc_fault: label in do_page_fault() modifies
user page tables, this is not correct for 64-bit kernels.

For 64-bit kernels we should go straight to the no_context handler
skipping vmalloc_fault.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/fault.c