Commit f442c283 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jason Gunthorpe

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.deSigned-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarJason Gunthorpe <jgg@mellanox.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 251bbe59
...@@ -677,8 +677,7 @@ config DEV_PAGEMAP_OPS ...@@ -677,8 +677,7 @@ config DEV_PAGEMAP_OPS
config HMM_MIRROR config HMM_MIRROR
bool "HMM mirror CPU page table into a device page table" bool "HMM mirror CPU page table into a device page table"
depends on (X86_64 || PPC64) depends on MMU
depends on MMU && 64BIT
select MMU_NOTIFIER select MMU_NOTIFIER
help help
Select HMM_MIRROR if you want to mirror range of the CPU page table of a Select HMM_MIRROR if you want to mirror range of the CPU page table of a
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment