Home
last modified time | relevance | path

Searched hist:"2865 d08dd9ea876524652f3900b4b3b9c8b22e77" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/powerpc/mm/
H A Dfault.cdiff 2865d08dd9ea876524652f3900b4b3b9c8b22e77 Tue Jul 18 23:49:39 CDT 2017 Benjamin Herrenschmidt <benh@kernel.crashing.org> powerpc/mm: Move the DSISR_PROTFAULT sanity check

This has a page of comment explaining what's going on right in
the middle of do_page_fault() which makes things a bit hard to
follow. Move it to a helper instead. Also do the test earlier
as there's no point waiting until after we found the VMA.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>