]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit327a67b771a7fbba676da82ef52140a90889cd43
tree6a43cd0634d9eb6d2fd1247b89b309d97095d698
parent58bfbf5076263111265a5e5afe1d14cb094f97e8
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