]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/32s: move CTX_TO_VSID() into mmu-hash.h
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 3 Jun 2021 08:41:38 +0000 (08:41 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 16 Jun 2021 14:09:08 +0000 (00:09 +1000)
commitd35f186ec7cd4a676f805699e6fab42879d226e2
tree73e0a356232dd321befd6264fa748321f7ba3287
parenta87dd015fbe66e432fefb2bb94583d30a87d280e
powerpc/32s: move CTX_TO_VSID() into mmu-hash.h

In order to reuse it in switch_mmu_context(), this
patch moves CTX_TO_VSID() macro into asm/book3s/32/mmu-hash.h

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/26b36ef2939234a04b37baf6ffe50cba81f5d1b7.1622708530.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/book3s/32/mmu-hash.h
arch/powerpc/kvm/book3s_32_mmu_host.c
arch/powerpc/mm/book3s32/mmu_context.c