This is to fix unnecessary __meminit definition.  These are exported for
kernel modules.

I compiled on ia64/x86-64 with memory hotplug on/off.

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:
Yasunori Goto 2007-05-08 20:27:01 -07:00 коммит произвёл Linus Torvalds
Родитель f4ebc99375
Коммит 7e81ab9d3d
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -228,7 +228,7 @@ int __init acpi_numa_init(void)
return 0;
}
int __meminit acpi_get_pxm(acpi_handle h)
int acpi_get_pxm(acpi_handle h)
{
unsigned long pxm;
acpi_status status;
@ -246,7 +246,7 @@ int __meminit acpi_get_pxm(acpi_handle h)
}
EXPORT_SYMBOL(acpi_get_pxm);
int __meminit acpi_get_node(acpi_handle *handle)
int acpi_get_node(acpi_handle *handle)
{
int pxm, node = -1;