| Submitter | Tang Chen |
|---|---|
| Date | Jan. 24, 2013, 9:38 a.m. |
| Message ID | <1359020287-11661-2-git-send-email-tangchen@cn.fujitsu.com> |
| Download | mbox | patch |
| Permalink | /patch/215291/ |
| State | Not Applicable |
| Headers | show |
Comments
Patch
diff --git a/arch/x86/mm/numa.c b/arch/x86/mm/numa.c index 9b31ed5..0624c85 100644 --- a/arch/x86/mm/numa.c +++ b/arch/x86/mm/numa.c @@ -56,7 +56,7 @@ early_param("numa", numa_setup); /* * apicid, cpu, node mappings */ -s16 __apicid_to_node[MAX_LOCAL_APIC] __cpuinitdata = { +s16 __apicid_to_node[MAX_LOCAL_APIC] = { [0 ... MAX_LOCAL_APIC-1] = NUMA_NO_NODE };
__apicid_to_node[] will be used by acpi_unmap_lsapic() when we do node hotplug. So it is no longer an init data. Do not declare __apicid_to_node[] as a __cpuinitdata, otherwise it will cause section mismatch warning when compiling. Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com> --- arch/x86/mm/numa.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)