diff options
author | Dave Airlie <airlied@redhat.com> | 2019-07-15 15:16:20 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2019-07-15 15:16:20 +1000 |
commit | 6dfc43d3a19174faead54575c204aee106225f43 (patch) | |
tree | ea954860d6282c5017a644c775305a752c8fd2a9 /include/linux/mm.h | |
parent | f27b99a1cea7ce3a2a24b907c5a998f0ad5a0268 (diff) |
mm: adjust apply_to_pfn_range interface for dropped token.drm-next-2019-07-15-1
mm/pgtable: drop pgtable_t variable from pte_fn_t functions
drops the token came in via the hmm tree, this caused lots of
conflicts, but applying this cleanup patch should reduce it
to something easier to handle. Just accept the token is unused
at this point.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r-- | include/linux/mm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 798cdda9560e..c45f936bd81c 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -2687,7 +2687,7 @@ extern int apply_to_page_range(struct mm_struct *mm, unsigned long address, unsigned long size, pte_fn_t fn, void *data); struct pfn_range_apply; -typedef int (*pter_fn_t)(pte_t *pte, pgtable_t token, unsigned long addr, +typedef int (*pter_fn_t)(pte_t *pte, unsigned long addr, struct pfn_range_apply *closure); struct pfn_range_apply { struct mm_struct *mm; |