summaryrefslogtreecommitdiff
path: root/arch/powerpc/mm/nohash/Makefile
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2019-04-26 05:59:40 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2019-05-03 01:20:23 +1000
commit3dea7332ccac1f701a6f8cd4fe44faa9be2e6014 (patch)
tree7c3671a4a5a95e591039dda457521ef48d02092e /arch/powerpc/mm/nohash/Makefile
parent5874cabe29079b72b192a28d266adf1a460fc5d6 (diff)
powerpc/book3e: hugetlbpage is only for CONFIG_PPC_FSL_BOOK3E
As per Kconfig.cputype, only CONFIG_PPC_FSL_BOOK3E gets to select SYS_SUPPORTS_HUGETLBFS so simplify accordingly. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/nohash/Makefile')
-rw-r--r--arch/powerpc/mm/nohash/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/nohash/Makefile b/arch/powerpc/mm/nohash/Makefile
index b2228ff81b8a..33b6f6f29d3f 100644
--- a/arch/powerpc/mm/nohash/Makefile
+++ b/arch/powerpc/mm/nohash/Makefile
@@ -9,7 +9,7 @@ obj-$(CONFIG_44x) += 44x.o
obj-$(CONFIG_PPC_8xx) += 8xx.o
obj-$(CONFIG_PPC_FSL_BOOK3E) += fsl_booke.o
ifdef CONFIG_HUGETLB_PAGE
-obj-$(CONFIG_PPC_BOOK3E_MMU) += book3e_hugetlbpage.o
+obj-$(CONFIG_PPC_FSL_BOOK3E) += book3e_hugetlbpage.o
endif
# Disable kcov instrumentation on sensitive code