Fix section mismatch of memory hotplug related code.
This is to fix many section mismatches of code related to memory hotplug. I checked compile with memory hotplug on/off on ia64 and x86-64 box. Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
0ceb331433
commit
a3142c8e1d
@ -228,7 +228,7 @@ int __init acpi_numa_init(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int acpi_get_pxm(acpi_handle h)
|
||||
int __meminit acpi_get_pxm(acpi_handle h)
|
||||
{
|
||||
unsigned long pxm;
|
||||
acpi_status status;
|
||||
@ -246,7 +246,7 @@ int acpi_get_pxm(acpi_handle h)
|
||||
}
|
||||
EXPORT_SYMBOL(acpi_get_pxm);
|
||||
|
||||
int acpi_get_node(acpi_handle *handle)
|
||||
int __meminit acpi_get_node(acpi_handle *handle)
|
||||
{
|
||||
int pxm, node = -1;
|
||||
|
||||
|
Reference in New Issue
Block a user