]> 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)
commitcd66ea1e55ee1c8755fb7422639d49d4af455cfd
tree63f3e9ef354c6e9e9216ebd7ed48b9ee6c2cdf8e
parent5c226ccc8a23e35517244bfb61443f4df8d62be4
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