commit | f66c9a33aee943aa43b3698c1f6f2619e28a1c77 | [log] [tgz] |
---|---|---|
author | Jason Gunthorpe <jgg@mellanox.com> | Fri Mar 27 17:00:18 2020 -0300 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Mon Mar 30 16:58:36 2020 -0300 |
tree | 5c193b12d33a780d3deffa24504b85a5c7ee73b4 | |
parent | 6bfef2f9194519ca23dee405a9f4db461a7a7826 [diff] |
mm/hmm: use device_private_entry_to_pfn() swp_offset() should not be called directly, the wrappers are supposed to abstract away the encoding of the device_private specific information in the swap entry. Link: https://lore.kernel.org/r/20200327200021.29372-7-jgg@ziepe.ca Reviewed-by: Ralph Campbell <rcampbell@nvidia.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Tested-by: Ralph Campbell <rcampbell@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>