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)
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

Simple merge
Simple merge
Simple merge