The patch titled microcode: fix section mismatch warning has been added to the -mm tree. Its filename is microcode-fix-section-mismatch-warning.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: microcode: fix section mismatch warning From: Sam Ravnborg <sam@xxxxxxxxxxxx> Fix the following section mismatch warnings in microcode.c: WARNING: arch/i386/kernel/built-in.o(.init.text+0x3966): Section mismatch: reference to .exit.text: (between 'microcode_init' and 'parse_maxcpus') WARNING: arch/i386/kernel/built-in.o(.init.text+0x3992): Section mismatch: reference to .exit.text: (between 'microcode_init' and 'parse_maxcpus') The warning are caused by a function marked __init that calls a function marked __exit. Functions marked __exit may be discarded either during link or run-time and thus the reference is not good. Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/i386/kernel/microcode.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN arch/i386/kernel/microcode.c~microcode-fix-section-mismatch-warning arch/i386/kernel/microcode.c --- a/arch/i386/kernel/microcode.c~microcode-fix-section-mismatch-warning +++ a/arch/i386/kernel/microcode.c @@ -478,7 +478,7 @@ static int __init microcode_dev_init (vo return 0; } -static void __exit microcode_dev_exit (void) +static void microcode_dev_exit (void) { misc_deregister(µcode_dev); } _ Patches currently in -mm which might be from sam@xxxxxxxxxxxx are origin.patch acpi-fix-section-mismatch-warning-in-asus-toshiba.patch git-kbuild.patch use-posix-bre-in-headers-install-target.patch kvm-fix-section-mismatch-warning-in-kvm-intelo.patch net-hp100-fix-section-mismatch-warning.patch fix-x86_64-mm-xen-core-xen-implementation.patch x86-fix-section-mismatch-warnings-in-mtrr.patch git-newsetup.patch microcode-fix-section-mismatch-warning.patch isdn-fix-section-mismatch-warnings.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