powerpc/mm: Move CMO accounting out of do_page_fault into a helper
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 19 Jul 2017 04:49:37 +0000 (14:49 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 Aug 2017 06:06:48 +0000 (16:06 +1000)
commit3da026480a7536bad5033e963008ec052c8e7530
treef92e2e3184f8d036825619fa9dff7287f439751c
parentb5c8f0fd595d25a938d16c041f92badc67533d9f
powerpc/mm: Move CMO accounting out of do_page_fault into a helper

It makes do_page_fault() more readable. No functional change.

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