powerpc/mm: Drop CONFIG_PPC_HAS_HASH_64K
authorMichael Ellerman <mpe@ellerman.id.au>
Fri, 7 Aug 2015 06:19:47 +0000 (16:19 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 18 Aug 2015 09:32:10 +0000 (19:32 +1000)
commit73b341efda6664afbb0b6884eae60f04208b4128
tree4fe3dc23e3b59b75b9d87da5b73ddc3fa3dd4816
parent55f8b5b82fe7ab21da4153ed177b6fe17b1d59a3
powerpc/mm: Drop CONFIG_PPC_HAS_HASH_64K

The relation between CONFIG_PPC_HAS_HASH_64K and CONFIG_PPC_64K_PAGES is
painfully complicated.

But if we rearrange it enough we can see that PPC_HAS_HASH_64K
essentially depends on PPC_STD_MMU_64 && PPC_64K_PAGES.

We can then notice that PPC_HAS_HASH_64K is used in files that are only
built for PPC_STD_MMU_64, meaning it's equivalent to PPC_64K_PAGES.

So replace all uses and drop it.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
arch/powerpc/Kconfig
arch/powerpc/mm/hash_low_64.S
arch/powerpc/mm/hash_utils_64.c