MIPS: Add dependencies for HAVE_ARCH_TRANSPARENT_HUGEPAGE
authorBen Hutchings <ben@decadent.org.uk>
Mon, 4 Mar 2013 04:17:21 +0000 (04:17 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 12 Mar 2013 17:57:57 +0000 (18:57 +0100)
commit383c97b4587665d47d08dff37ec85b44be760505
tree48e362a95ffd2aa89bd9b8c7a3523a41de034320
parent9f91e5064c6c24d6ccd760a6b6120de4560d9829
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: Ben Hutchings <ben@decadent.org.uk>
Cc: linux-mips@linux-mips.org
Acked-by: David Daney <david.daney@cavium.com>
Patchwork: https://patchwork.linux-mips.org/patch/4972/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig