powerpc/mm: Move exception_enter/exit to a do_page_fault wrapper
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 19 Jul 2017 04:49:23 +0000 (14:49 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 2 Aug 2017 03:11:07 +0000 (13:11 +1000)
commit7afad422ac61067473d5f3d20bbd5472af533bcd
treed7bb22570129b6fd8fc7193a64656d7d0899be90
parent424de9c6e3f89399fc11afc1f53f89c5329132da
powerpc/mm: Move exception_enter/exit to a do_page_fault wrapper

This will allow simplifying the returns from do_page_fault

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/fault.c