The patch titled sparc64: fix section mismatch warning in mdesc.c has been added to the -mm tree. Its filename is sparc64-fix-section-mismatch-warning-in-mdescc.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: sparc64: fix section mismatch warning in mdesc.c From: Sam Ravnborg <sam@xxxxxxxxxxxx> Fix following warning: WARNING: vmlinux.o(.text+0x35264): Section mismatch: reference to .init.text:__alloc_bootmem (between 'mdesc_bootmem_alloc' and 'mdesc_bootmem_free') Rename mdesc_mem_ops to *_ops so modpost ignores __init references and declare mdesc_bootmem_alloc __init since it is only used during __init context. Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/sparc64/kernel/mdesc.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff -puN arch/sparc64/kernel/mdesc.c~sparc64-fix-section-mismatch-warning-in-mdescc arch/sparc64/kernel/mdesc.c --- a/arch/sparc64/kernel/mdesc.c~sparc64-fix-section-mismatch-warning-in-mdescc +++ a/arch/sparc64/kernel/mdesc.c @@ -83,7 +83,7 @@ static void mdesc_handle_init(struct mde hp->handle_size = handle_size; } -static struct mdesc_handle *mdesc_bootmem_alloc(unsigned int mdesc_size) +static struct mdesc_handle * __init mdesc_bootmem_alloc(unsigned int mdesc_size) { struct mdesc_handle *hp; unsigned int handle_size, alloc_size; @@ -123,7 +123,7 @@ static void mdesc_bootmem_free(struct md } } -static struct mdesc_mem_ops bootmem_mdesc_memops = { +static struct mdesc_mem_ops bootmem_mdesc_ops = { .alloc = mdesc_bootmem_alloc, .free = mdesc_bootmem_free, }; @@ -860,7 +860,7 @@ void __init sun4v_mdesc_init(void) printk("MDESC: Size is %lu bytes.\n", len); - hp = mdesc_alloc(len, &bootmem_mdesc_memops); + hp = mdesc_alloc(len, &bootmem_mdesc_ops); if (hp == NULL) { prom_printf("MDESC: alloc of %lu bytes failed.\n", len); prom_halt(); _ Patches currently in -mm which might be from sam@xxxxxxxxxxxx are origin.patch powerpc-vdso-install-unstripped-copies-on-disk.patch pass-g-to-assembler-under-config_debug_info.patch mkmakefile-include-arch-on-o=-builds.patch sparc64-fix-section-mismatch-warning-in-pci_sunv4.patch sparc64-fix-section-mismatch-warning-in-mdescc.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 x86_64-fix-section-mismatch-warning-in-hpetc.patch x86_64-fix-section-mismatch-warning-in-initc.patch whitelist-references-from-__dbe_table-to-init.patch broken-lilo-check-on-make-install.patch console-fix-section-mismatch-warning-in-vgaconc.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