Commit 52765583 authored by Marcin Slusarz's avatar Marcin Slusarz Committed by Linus Torvalds

mm/bootmem: silence section mismatch warning - contig_page_data/bootmem_node_data

WARNING: vmlinux.o(.data+0x1f5c0): Section mismatch in reference from the variable contig_page_data to the variable
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: default avatarMarcin Slusarz <>
Cc: Johannes Weiner <>
Cc: Sean MacLennan <>
Cc: Sam Ravnborg <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 39dbbb45
......@@ -4071,7 +4071,7 @@ void __init set_dma_reserve(unsigned long new_dma_reserve)
struct pglist_data contig_page_data = { .bdata = &bootmem_node_data[0] };
struct pglist_data __refdata contig_page_data = { .bdata = &bootmem_node_data[0] };
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment