powerpc/mm: Move mmap_sem unlock up from do_sigbus
authorLaurent Dufour <ldufour@linux.vnet.ibm.com>
Tue, 14 Feb 2017 16:45:10 +0000 (17:45 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 21 Mar 2017 11:08:53 +0000 (22:08 +1100)
commitc2294e0ffe741c8b34c630a71c7dc44d30503538
tree54a259cd001fca0c38082d52a666ce9f084ff74b
parent20f13b95eef1b3ca75535e313357b0b096d39336
powerpc/mm: Move mmap_sem unlock up from do_sigbus

Move mmap_sem releasing in the do_sigbus()'s unique caller : mm_fault_error()

No functional changes.

Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/fault.c