]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Use mm_is_thread_local() instread of open-coding
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 24 Jul 2017 04:28:01 +0000 (14:28 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 23 Aug 2017 12:27:45 +0000 (22:27 +1000)
commitf2e984987b862dbacff24c859f76b37844f371e8
tree23f91e12eb43460dfc9aa0f6d912c88b374d6f7d
parenta3605a786f09a22835ee57a6d96e0f7b8b30c6cb
powerpc/mm: Use mm_is_thread_local() instread of open-coding

We open-code testing for the mm being local to the current CPU
in a few places. Use our existing helper instead.

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