mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +00:00
ACPI: Section mismatch ... acpi_map_pxm_to_node
Last of the "Section mismatch" errors from ia64 builds! acpi_map_pxm_to_node()
is defined with attribute __cpuinit, but is called by "normal" kernel functions
acpi_getnode() and acpi_map_cpu2node().
Commit f363d16fbb
moved the data structures on
which this routine operates from __cpuinitdata to regular memory, so this
routine can also move out of init space.
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
cc4c24e115
commit
8ff6f48d99
@ -59,7 +59,7 @@ int node_to_pxm(int node)
|
||||
return node_to_pxm_map[node];
|
||||
}
|
||||
|
||||
int __cpuinit acpi_map_pxm_to_node(int pxm)
|
||||
int acpi_map_pxm_to_node(int pxm)
|
||||
{
|
||||
int node = pxm_to_node_map[pxm];
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
extern int pxm_to_node(int);
|
||||
extern int node_to_pxm(int);
|
||||
extern int __cpuinit acpi_map_pxm_to_node(int);
|
||||
extern int acpi_map_pxm_to_node(int);
|
||||
extern void __cpuinit acpi_unmap_pxm_to_node(int);
|
||||
|
||||
#endif /* CONFIG_ACPI_NUMA */
|
||||
|
Loading…
Reference in New Issue
Block a user