The patch titled mm/bootmem: silence section mismatch warning - contig_page_data/bootmem_node_data has been added to the -mm tree. Its filename is mm-bootmem-silence-section-mismatch-warning-contig_page_data-bootmem_node_data.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** 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 The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: mm/bootmem: silence section mismatch warning - contig_page_data/bootmem_node_data From: Marcin Slusarz <marcin.slusarz@xxxxxxxxx> WARNING: vmlinux.o(.data+0x1f5c0): Section mismatch in reference from the variable contig_page_data to the variable .init.data:bootmem_node_data The variable contig_page_data references the variable __initdata bootmem_node_data If the reference is valid then annotate the variable with __init* (see linux/init.h) or name the variable: *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console, Signed-off-by: Marcin Slusarz <marcin.slusarz@xxxxxxxxx> Cc: Johannes Weiner <hannes@xxxxxxxxxxxx> Cc: Sean MacLennan <smaclennan@xxxxxxxxxxxx> Cc: Sam Ravnborg <sam@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN mm/page_alloc.c~mm-bootmem-silence-section-mismatch-warning-contig_page_data-bootmem_node_data mm/page_alloc.c --- a/mm/page_alloc.c~mm-bootmem-silence-section-mismatch-warning-contig_page_data-bootmem_node_data +++ a/mm/page_alloc.c @@ -4071,7 +4071,7 @@ void __init set_dma_reserve(unsigned lon } #ifndef CONFIG_NEED_MULTIPLE_NODES -struct pglist_data contig_page_data = { .bdata = &bootmem_node_data[0] }; +struct pglist_data __refdata contig_page_data = { .bdata = &bootmem_node_data[0] }; EXPORT_SYMBOL(contig_page_data); #endif _ Patches currently in -mm which might be from marcin.slusarz@xxxxxxxxx are mm-bootmem-silence-section-mismatch-warning-contig_page_data-bootmem_node_data.patch linux-next.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