mm/hmm: allow HMM_MIRROR on all architectures with MMU
authorChristoph Hellwig <hch@lst.de>
Tue, 6 Aug 2019 16:05:51 +0000 (19:05 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 7 Aug 2019 17:58:06 +0000 (14:58 -0300)
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>
mm/Kconfig

index 56cec63..b18782b 100644 (file)
@@ -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