mm: adjust apply_to_pfn_range interface for dropped token.
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>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user