From: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx> --- mm/vmalloc.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 0e845bb..a1ecf33 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -1991,9 +1991,9 @@ void __attribute__((weak)) vmalloc_sync_all(void) } -static int f(pte_t *pte, unsigned long addr, void *data) +static int f(pte_t *pte, unsigned count, unsigned long addr, void *data) { - /* apply_to_page_range() does all the hard work. */ + /* apply_to_page_range_batch() does all the hard work. */ return 0; } @@ -2022,8 +2022,8 @@ struct vm_struct *alloc_vm_area(size_t size) * This ensures that page tables are constructed for this region * of kernel virtual address space and mapped into init_mm. */ - if (apply_to_page_range(&init_mm, (unsigned long)area->addr, - area->size, f, NULL)) { + if (apply_to_page_range_batch(&init_mm, (unsigned long)area->addr, + area->size, f, NULL)) { free_vm_area(area); return NULL; } -- 1.7.3.3 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>