]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Move out definition of CPU specific is_write bits
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 19 Jul 2017 04:49:29 +0000 (14:49 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 Aug 2017 06:06:44 +0000 (16:06 +1000)
commitcb864185294987493a3fdfe8d8173c61695c7557
tree63f3e9ef354c6e9e9216ebd7ed48b9ee6c2cdf8e
parent87421c9bf0910aa57a7047d8fe1022447a8dabcd
powerpc/mm: Move out definition of CPU specific is_write bits

Define a common page_fault_is_write() helper and use it

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