mm: remove the unused MIGRATE_PFN_DEVICE flag
authorChristoph Hellwig <hch@lst.de>
Wed, 14 Aug 2019 07:59:27 +0000 (09:59 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 20 Aug 2019 12:35:03 +0000 (09:35 -0300)
commit06d462beb470d361ffa8bd7b3d865509a8606987
tree1492b6a6222ecd60ff28c64cddc9d62a1d8e42c7
parent2a915acf88ac0c4c583cd654bdc87371e38016c1
mm: remove the unused MIGRATE_PFN_DEVICE flag

No one ever checks this flag, and we could easily get that information
from the page if needed.

Link: https://lore.kernel.org/r/20190814075928.23766-10-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ralph Campbell <rcampbell@nvidia.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Tested-by: Ralph Campbell <rcampbell@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/gpu/drm/nouveau/nouveau_dmem.c
include/linux/migrate.h
mm/migrate.c