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.
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -2687,7 +2687,7 @@ extern int apply_to_page_range(struct mm_struct *mm, unsigned long address, · 2686 unmodified lines | |||
| 2687 | unsigned long size, pte_fn_t fn, void *data); | 2687 | unsigned long size, pte_fn_t fn, void *data); |
| 2688 | 2688 | ||
| 2689 | struct pfn_range_apply; | 2689 | struct pfn_range_apply; |
| 2690 | typedef int (*pter_fn_t)(pte_t *pte, pgtable_t token, unsigned long addr, | 2690 | typedef int (*pter_fn_t)(pte_t *pte, unsigned long addr, |
| 2691 | struct pfn_range_apply *closure); | 2691 | struct pfn_range_apply *closure); |
| 2692 | struct pfn_range_apply { | 2692 | struct pfn_range_apply { |
| 2693 | struct mm_struct *mm; | 2693 | struct mm_struct *mm; |