The patch titled i386: fix modpost warning in SMP trampoline code has been added to the -mm tree. Its filename is i386-fix-modpost-warning-in-smp-trampoline-code.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: i386: fix modpost warning in SMP trampoline code From: Vivek Goyal <vgoyal@xxxxxxxxxx> o MODPOST generates warning for i386 if kernel is compiled with CONFIG_RELOCATABLE=y WARNING: vmlinux - Section mismatch: reference to .init.text:startup_32_smp from .data between 'trampoline_data' (at offset 0xc0519cf8) and 'boot_gdt' o trampoline code/data can go into init section is CPU hotplug is not enabled. Signed-off-by: Vivek Goyal <vgoyal@xxxxxxxxxx> Cc: Andi Kleen <ak@xxxxxxx> Cc: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/i386/kernel/trampoline.S | 5 +++++ 1 files changed, 5 insertions(+) diff -puN arch/i386/kernel/trampoline.S~i386-fix-modpost-warning-in-smp-trampoline-code arch/i386/kernel/trampoline.S --- a/arch/i386/kernel/trampoline.S~i386-fix-modpost-warning-in-smp-trampoline-code +++ a/arch/i386/kernel/trampoline.S @@ -38,6 +38,11 @@ .data +/* We can free up trampoline after bootup if cpu hotplug is not supported. */ +#ifndef CONFIG_HOTPLUG_CPU +.section ".init.data","aw",@progbits +#endif + .code16 ENTRY(trampoline_data) _ Patches currently in -mm which might be from vgoyal@xxxxxxxxxx are i386-restore-config_physical_start-option.patch i386-fix-modpost-warning-in-smp-trampoline-code.patch i386-fix-another-modpost-warning.patch i386-modpost-smpboot-code-warning-fix.patch i386-cpu-hotplug-smpboot-misc-modpost-warning-fixes.patch convert-some-functions-to-__init-to-avoid-modpost-warnings.patch i386-move-startup_32-in-texthead-section.patch break-init-in-two-parts-to-avoid-modpost-warnings.patch i386-fix-memory-hotplug-related-modpost-generated-warning.patch i386-make-apic-probe-function-non-init.patch modpost-add-more-symbols-to-whitelist-pattern2.patch modpost-whitelist-reference-to-more-symbols-pattern-3.patch i386-specify-section-flags-while-creating-new-sections.patch clockevents-i386-drivers.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