summaryrefslogtreecommitdiffstats
path: root/mm/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-08-06 18:05:51 +0200
committerJason Gunthorpe <jgg@mellanox.com>2019-08-07 19:58:06 +0200
commitf442c283efe4bda53c8e52b230159d020ea11c8e (patch)
tree143793bd624e5bba4fa8ada034e33d9a57db92b6 /mm/Kconfig
parentmm/hmm: cleanup the hmm_vma_walk_hugetlb_entry stub (diff)
downloadlinux-f442c283efe4bda53c8e52b230159d020ea11c8e.tar.xz
linux-f442c283efe4bda53c8e52b230159d020ea11c8e.zip
mm/hmm: allow HMM_MIRROR on all architectures with MMU
There isn't really any architecture specific code in this page table walk implementation, so drop the dependencies. Link: https://lore.kernel.org/r/20190806160554.14046-14-hch@lst.de Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'mm/Kconfig')
-rw-r--r--mm/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/Kconfig b/mm/Kconfig
index 56cec636a1fc..b18782be969c 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -677,8 +677,7 @@ config DEV_PAGEMAP_OPS
config HMM_MIRROR
bool "HMM mirror CPU page table into a device page table"
- depends on (X86_64 || PPC64)
- depends on MMU && 64BIT
+ depends on MMU
select MMU_NOTIFIER
help
Select HMM_MIRROR if you want to mirror range of the CPU page table of a