The patch titled Subject: mm/bootmem.c: remove unused wrapper function reserve_bootmem_generic() has been added to the -mm tree. Its filename is mm-bootmemc-remove-unused-wrapper-function-reserve_bootmem_generic.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: Lin Feng <linfeng@xxxxxxxxxxxxxx> Subject: mm/bootmem.c: remove unused wrapper function reserve_bootmem_generic() reserve_bootmem_generic() has no caller, Signed-off-by: Lin Feng <linfeng@xxxxxxxxxxxxxx> Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx> Cc: Yinghai Lu <yinghai@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/bootmem.h | 3 --- mm/bootmem.c | 6 ------ 2 files changed, 9 deletions(-) diff -puN include/linux/bootmem.h~mm-bootmemc-remove-unused-wrapper-function-reserve_bootmem_generic include/linux/bootmem.h --- a/include/linux/bootmem.h~mm-bootmemc-remove-unused-wrapper-function-reserve_bootmem_generic +++ a/include/linux/bootmem.h @@ -137,9 +137,6 @@ extern void *__alloc_bootmem_low_node(pg #define alloc_bootmem_low_pages_node(pgdat, x) \ __alloc_bootmem_low_node(pgdat, x, PAGE_SIZE, 0) -extern int reserve_bootmem_generic(unsigned long addr, unsigned long size, - int flags); - #ifdef CONFIG_HAVE_ARCH_ALLOC_REMAP extern void *alloc_remap(int nid, unsigned long size); #else diff -puN mm/bootmem.c~mm-bootmemc-remove-unused-wrapper-function-reserve_bootmem_generic mm/bootmem.c --- a/mm/bootmem.c~mm-bootmemc-remove-unused-wrapper-function-reserve_bootmem_generic +++ a/mm/bootmem.c @@ -460,12 +460,6 @@ int __init reserve_bootmem(unsigned long return mark_bootmem(start, end, 1, flags); } -int __weak __init reserve_bootmem_generic(unsigned long phys, unsigned long len, - int flags) -{ - return reserve_bootmem(phys, len, flags); -} - static unsigned long __init align_idx(struct bootmem_data *bdata, unsigned long idx, unsigned long step) { _ Patches currently in -mm which might be from linfeng@xxxxxxxxxxxxxx are node_states-introduce-n_memory.patch cpuset-use-n_memory-instead-n_high_memory.patch procfs-use-n_memory-instead-n_high_memory.patch memcontrol-use-n_memory-instead-n_high_memory.patch oom-use-n_memory-instead-n_high_memory.patch mmmigrate-use-n_memory-instead-n_high_memory.patch mempolicy-use-n_memory-instead-n_high_memory.patch hugetlb-use-n_memory-instead-n_high_memory.patch vmstat-use-n_memory-instead-n_high_memory.patch kthread-use-n_memory-instead-n_high_memory.patch init-use-n_memory-instead-n_high_memory.patch vmscan-use-n_memory-instead-n_high_memory.patch page_alloc-use-n_memory-instead-n_high_memory-change-the-node_states-initialization.patch hotplug-update-nodemasks-management.patch hotplug-update-nodemasks-management-fix.patch mm-bootmemc-remove-unused-wrapper-function-reserve_bootmem_generic.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