The patch titled Subject: mm/page_alloc: Remove useless parameter of __free_pages_boot_core has been added to the -mm tree. Its filename is mm-page_alloc-remove-useless-parameter-of-__free_pages_boot_core.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-page_alloc-remove-useless-parameter-of-__free_pages_boot_core.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-page_alloc-remove-useless-parameter-of-__free_pages_boot_core.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Li Zhang <zhlcindy@xxxxxxxxxxxxxxxxxx> Subject: mm/page_alloc: Remove useless parameter of __free_pages_boot_core __free_pages_boot_core has parameter pfn which is not used at all. Remove it. Signed-off-by: Li Zhang <zhlcindy@xxxxxxxxxxxxxxxxxx> Reviewed-by: Pan Xinhui <xinhui.pan@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page_alloc.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff -puN mm/page_alloc.c~mm-page_alloc-remove-useless-parameter-of-__free_pages_boot_core mm/page_alloc.c --- a/mm/page_alloc.c~mm-page_alloc-remove-useless-parameter-of-__free_pages_boot_core +++ a/mm/page_alloc.c @@ -1076,8 +1076,7 @@ static void __free_pages_ok(struct page local_irq_restore(flags); } -static void __init __free_pages_boot_core(struct page *page, - unsigned long pfn, unsigned int order) +static void __init __free_pages_boot_core(struct page *page, unsigned int order) { unsigned int nr_pages = 1 << order; struct page *p = page; @@ -1154,7 +1153,7 @@ void __init __free_pages_bootmem(struct { if (early_page_uninitialised(pfn)) return; - return __free_pages_boot_core(page, pfn, order); + return __free_pages_boot_core(page, order); } /* @@ -1239,12 +1238,12 @@ static void __init deferred_free_range(s if (nr_pages == MAX_ORDER_NR_PAGES && (pfn & (MAX_ORDER_NR_PAGES-1)) == 0) { set_pageblock_migratetype(page, MIGRATE_MOVABLE); - __free_pages_boot_core(page, pfn, MAX_ORDER-1); + __free_pages_boot_core(page, MAX_ORDER-1); return; } - for (i = 0; i < nr_pages; i++, page++, pfn++) - __free_pages_boot_core(page, pfn, 0); + for (i = 0; i < nr_pages; i++, page++) + __free_pages_boot_core(page, 0); } /* Completion tracking for deferred_init_memmap() threads */ _ Patches currently in -mm which might be from zhlcindy@xxxxxxxxxxxxxxxxxx are mm-page_alloc-remove-useless-parameter-of-__free_pages_boot_core.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html