]> Git Repo - linux.git/commit
mm/migrate: fix migrate_pgmap_owner w/o CONFIG_MMU_NOTIFIER
authorRalph Campbell <[email protected]>
Fri, 7 Aug 2020 06:17:09 +0000 (23:17 -0700)
committerLinus Torvalds <[email protected]>
Fri, 7 Aug 2020 18:33:21 +0000 (11:33 -0700)
commitc1a06df6ebf6ca98fb7a672fe447c7469d6c1968
tree9e3dcff386e50a9d85b4b3ad783bd0599b56730f
parentd6efb3ac3e6c19ab722b28bdb9252bae0b9676b6
mm/migrate: fix migrate_pgmap_owner w/o CONFIG_MMU_NOTIFIER

On x86_64, when CONFIG_MMU_NOTIFIER is not set/enabled, there is a
compiler error:

   mm/migrate.c: In function 'migrate_vma_collect':
   mm/migrate.c:2481:7: error: 'struct mmu_notifier_range' has no member named 'migrate_pgmap_owner'
     range.migrate_pgmap_owner = migrate->pgmap_owner;
          ^

Fixes: 998427b3ad2c ("mm/notifier: add migration invalidation type")
Reported-by: Randy Dunlap <[email protected]>
Signed-off-by: Ralph Campbell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Tested-by: Randy Dunlap <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Cc: Jerome Glisse <[email protected]>
Cc: John Hubbard <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: "Jason Gunthorpe" <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/mmu_notifier.h
mm/migrate.c
This page took 0.061188 seconds and 4 git commands to generate.