MIPS: Add dependencies for HAVE_ARCH_TRANSPARENT_HUGEPAGE
The MIPS implementation of transparent huge-pages (THP) is 64-bit only, and of course also requires that the CPU supports huge-pages. Currently it's entirely possible to enable THP in other configurations, which then fail to build due to pfn_pmd() not being defined. Signed-off-by: NBen Hutchings <ben@decadent.org.uk> Cc: linux-mips@linux-mips.org Acked-by: NDavid Daney <david.daney@cavium.com> Patchwork: https://patchwork.linux-mips.org/patch/4972/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
Showing
想要评论请 注册 或 登录