The patch titled x86_64: fix section mismatch warning in init.c has been removed from the -mm tree. Its filename was x86_64-fix-section-mismatch-warning-in-initc.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: x86_64: fix section mismatch warning in init.c From: Sam Ravnborg <sam@xxxxxxxxxxxx> Fix following warning: WARNING: vmlinux.o(.text+0x188ea): Section mismatch: reference to .init.text:__alloc_bootmem_core (between 'alloc_bootmem_high_node' and 'get_gate_vma') alloc_bootmem_high_node() is only used from __init scope so declare it __init. And in addition declare the weak variant __init too. Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/x86_64/mm/init.c | 2 +- mm/sparse.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff -puN arch/x86_64/mm/init.c~x86_64-fix-section-mismatch-warning-in-initc arch/x86_64/mm/init.c --- a/arch/x86_64/mm/init.c~x86_64-fix-section-mismatch-warning-in-initc +++ a/arch/x86_64/mm/init.c @@ -724,7 +724,7 @@ int in_gate_area_no_task(unsigned long a return (addr >= VSYSCALL_START) && (addr < VSYSCALL_END); } -void *alloc_bootmem_high_node(pg_data_t *pgdat, unsigned long size) +void * __init alloc_bootmem_high_node(pg_data_t *pgdat, unsigned long size) { return __alloc_bootmem_core(pgdat->bdata, size, SMP_CACHE_BYTES, (4UL*1024*1024*1024), 0); diff -puN mm/sparse.c~x86_64-fix-section-mismatch-warning-in-initc mm/sparse.c --- a/mm/sparse.c~x86_64-fix-section-mismatch-warning-in-initc +++ a/mm/sparse.c @@ -214,7 +214,7 @@ static int __meminit sparse_init_one_sec return 1; } -__attribute__((weak)) +__attribute__((weak)) __init void *alloc_bootmem_high_node(pg_data_t *pgdat, unsigned long size) { return NULL; _ Patches currently in -mm which might be from sam@xxxxxxxxxxxx are powerpc-vdso-install-unstripped-copies-on-disk.patch git-kbuild.patch pass-g-to-assembler-under-config_debug_info.patch mkmakefile-include-arch-on-o=-builds.patch i386-vdso-install-unstripped-copies-on-disk.patch i386-vdso-install-unstripped-copies-on-disk-fix.patch x86_64-ia32-vdso-install-unstripped-copies-on-disk.patch whitelist-references-from-__dbe_table-to-init.patch broken-lilo-check-on-make-install.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