[Bugme-new] [Bug 11443] New: section mismatch in mm/page_alloc.c vs mm/bootmem.c
bugme-daemon at bugzilla.kernel.org
bugme-daemon at bugzilla.kernel.org
Wed Aug 27 19:01:32 PDT 2008
http://bugzilla.kernel.org/show_bug.cgi?id=11443
Summary: section mismatch in mm/page_alloc.c vs mm/bootmem.c
Product: Memory Management
Version: 2.5
KernelVersion: 2.6.27-rc4
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Page Allocator
AssignedTo: akpm at osdl.org
ReportedBy: blofeldus at yahoo.com
Latest working kernel version: v2.6.26-6380-g8b05c7e
Earliest failing kernel version: v2.6.26-6381-gb61bfa3
Distribution: Fedora 9
Hardware Environment: powerpc
Software Environment: gcc 4.3.1-6
Problem Description:
WARNING: mm/built-in.o(.data+0x80c): 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,
Steps to reproduce:
make where CONFIG_NEED_MULTIPLE_NODES is not set
Commit b61bfa3c462671c48a51fb5c31af337c5a996a04 declared in mm/bootmem.c:
+bootmem_data_t bootmem_node_data[MAX_NUMNODES] __initdata;
and used in mm/page_alloc.c:
+struct pglist_data contig_page_data = { .bdata = &bootmem_node_data[0] };
Seems both or neither should be __initdata.
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Bugme-new
mailing list