]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Add helpers for accessing hash translation related variables
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Wed, 17 Apr 2019 13:03:48 +0000 (18:33 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 21 Apr 2019 13:12:38 +0000 (23:12 +1000)
commitf20f763354b88880f06060e8afc1d18332c0f9a9
tree5893d1774b5717896d7ef47576f292411df99862
parent4d140bc88ee08a3af028d55db1f4e6f4a0c83cdd
powerpc/mm: Add helpers for accessing hash translation related variables

We want to switch to allocating them runtime only when hash translation is
enabled. Add helpers so that both book3s and nohash can be adapted to
upcoming change easily.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/64/mmu-hash.h
arch/powerpc/include/asm/book3s/64/mmu.h
arch/powerpc/include/asm/nohash/32/mmu-8xx.h
arch/powerpc/kernel/paca.c
arch/powerpc/mm/hash_utils_64.c
arch/powerpc/mm/slb.c
arch/powerpc/mm/slice.c
arch/powerpc/mm/subpage-prot.c