Revert "mm: adjust apply_to_pfn_range interface for dropped token."

This reverts commit 6dfc43d3a1.

Going to revert the whole vmwwgfx pull.

Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie
2019-07-16 04:06:29 +10:00
parent 6dfc43d3a1
commit 7e4b4dfc98
3 changed files with 8 additions and 6 deletions

View File

@@ -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, unsigned long addr,
typedef int (*pter_fn_t)(pte_t *pte, pgtable_t token, unsigned long addr,
struct pfn_range_apply *closure);
struct pfn_range_apply {
struct mm_struct *mm;