diff options
author | Christoph Hellwig <hch@lst.de> | 2019-06-26 14:27:21 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-07-02 14:32:45 -0300 |
commit | 8a164fef9c4ccf6ff7757170397222860e40d192 (patch) | |
tree | 32f53aa0e39177a6f952761d22c2415b717c5198 /include/linux/mm_types.h | |
parent | eee3ae41b153e55e25d6cf7bd5b5098ba0afe705 (diff) | |
download | linux-8a164fef9c4ccf6ff7757170397222860e40d192.tar.gz linux-8a164fef9c4ccf6ff7757170397222860e40d192.tar.bz2 linux-8a164fef9c4ccf6ff7757170397222860e40d192.zip |
mm: simplify ZONE_DEVICE page private data
Remove the clumsy hmm_devmem_page_{get,set}_drvdata helpers, and
instead just access the page directly. Also make the page data
a void pointer, and thus much easier to use.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/linux/mm_types.h')
-rw-r--r-- | include/linux/mm_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h index 8ec38b11b361..f33a1289c101 100644 --- a/include/linux/mm_types.h +++ b/include/linux/mm_types.h @@ -158,7 +158,7 @@ struct page { struct { /* ZONE_DEVICE pages */ /** @pgmap: Points to the hosting device page map. */ struct dev_pagemap *pgmap; - unsigned long hmm_data; + void *zone_device_data; unsigned long _zd_pad_1; /* uses mapping */ }; |