The patch titled sparc64: fix section mismatch warning in pci_sunv4 has been added to the -mm tree. Its filename is sparc64-fix-section-mismatch-warning-in-pci_sunv4.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 pci_sunv4 From: Sam Ravnborg <sam@xxxxxxxxxxxx> Fix following warning: WARNING: vmlinux.o(.text+0x3cf50): Section mismatch: reference to .init.text:page_in_phys_avail (between 'pci_sun4v_pbm_init' and 'sun4v_pci_init') pci_sun4v_pbm_init and sun4v_pci_init was only used under __init context so declare them _init. Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/sparc64/kernel/pci_sun4v.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN arch/sparc64/kernel/pci_sun4v.c~sparc64-fix-section-mismatch-warning-in-pci_sunv4 arch/sparc64/kernel/pci_sun4v.c --- a/arch/sparc64/kernel/pci_sun4v.c~sparc64-fix-section-mismatch-warning-in-pci_sunv4 +++ a/arch/sparc64/kernel/pci_sun4v.c @@ -1129,7 +1129,7 @@ static void pci_sun4v_msi_init(struct pc } #endif /* !(CONFIG_PCI_MSI) */ -static void pci_sun4v_pbm_init(struct pci_controller_info *p, struct device_node *dp, u32 devhandle) +static void __init pci_sun4v_pbm_init(struct pci_controller_info *p, struct device_node *dp, u32 devhandle) { struct pci_pbm_info *pbm; @@ -1163,7 +1163,7 @@ static void pci_sun4v_pbm_init(struct pc pci_sun4v_msi_init(pbm); } -void sun4v_pci_init(struct device_node *dp, char *model_name) +void __init sun4v_pci_init(struct device_node *dp, char *model_name) { static int hvapi_negotiated = 0; struct pci_controller_info *p; _ 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