]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Move/simplify faulthandler_disabled() and !mm check
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 19 Jul 2017 04:49:40 +0000 (14:49 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 Aug 2017 06:06:49 +0000 (16:06 +1000)
commit71c201cabe4068f55a6c185c9a2872ef402e1d59
treee9218255e8c3be542dd71c98266cf0fbd8e6ff1b
parentebf3a398bb40e6e4c81bdadcfde385098f6eb98a
powerpc/mm: Move/simplify faulthandler_disabled() and !mm check

Do the check before we re-enable interrupts and clean the code
up a bit.

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