MIPS: Drop mmap_sem in pagefault oom path
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 3 Jul 2009 16:33:09 +0000 (01:33 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 3 Aug 2009 16:52:40 +0000 (17:52 +0100)
commita887b4dada2f23b2ff2aa725e0509c92dc652597
tree7841c40cff0b0f04db27304e89ea54b179fac96f
parent49316cbf0a9875f102f98dc8b7c80cfa142e33cf
MIPS: Drop mmap_sem in pagefault oom path

Fix the pagefault oom path which does not drop mm->mmap_sem.
This was introduced by commit c7c1e3846bac1e4b8a8941f6a194812e28b0a519

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/fault.c