From: Michael Ellerman Date: Fri, 7 Aug 2015 06:19:45 +0000 (+1000) Subject: powerpc/mm: Drop the 64K on 4K version of pte_pagesize_index() X-Git-Tag: omap-for-v4.3/fixes-rc1~100^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=953005770ec3b52132a4cdbdbce74bd0de2b8490;p=pandora-kernel.git 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 Reviewed-by: Aneesh Kumar K.V --- Reading git-diff-tree failed