summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/page.h
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2015-08-07 16:19:45 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2015-08-18 19:31:55 +1000
commit953005770ec3b52132a4cdbdbce74bd0de2b8490 (patch)
treebbffe328e9cbecb6ec321ed50b06e1f318a83cd4 /include/asm-generic/page.h
parentf444f1f898d7c4bbe45d12ffe3f38349ff83ec4a (diff)
downloadlinux-953005770ec3b52132a4cdbdbce74bd0de2b8490.tar.gz
linux-953005770ec3b52132a4cdbdbce74bd0de2b8490.tar.bz2
linux-953005770ec3b52132a4cdbdbce74bd0de2b8490.zip
powerpc/mm: Drop the 64K on 4K version of pte_pagesize_index()
Now that support for 64k pages with a 4K kernel is removed, this code is unreachable. CONFIG_PPC_HAS_HASH_64K can only be true when CONFIG_PPC_64K_PAGES is also true. But when CONFIG_PPC_64K_PAGES is true we include pte-hash64.h which includes pte-hash64-64k.h, which defines both pte_pagesize_index() and crucially __real_pte, which means this definition can never be used. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Diffstat (limited to 'include/asm-generic/page.h')
0 files changed, 0 insertions, 0 deletions