diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-01-30 07:33:37 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:37 -0500 |
commit | 1e296f578a8ef70b314315a2bfc7b036f947803f (patch) | |
tree | e72fe9fe3eaf3090f81bc580c2424ca8e784527f /arch/x86/kernel/topology.c | |
parent | 85b74d6c119a7dae882569e57925eaafecc07859 (diff) |
x86: fix section mismatch warning in srat_64.c
Fix the following warnings:
WARNING: arch/x86/mm/built-in.o(.text+0x1abc): Section mismatch: reference to .init.data:nodes_parsed in 'unparse_node'
WARNING: arch/x86/mm/built-in.o(.text+0x1ac6): Section mismatch: reference to .cpuinit.data:apicid_to_node in 'unparse_node'
WARNING: arch/x86/mm/built-in.o(.text+0x1ad2): Section mismatch: reference to .cpuinit.data:apicid_to_node in 'unparse_node'
unparse_node are static and only used by acpi_scan_nodes which
is already annotated __init.
So we annotate unparse_node with __init.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/topology.c')
0 files changed, 0 insertions, 0 deletions