summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorYasunori Goto <y-goto@jp.fujitsu.com>2007-05-08 20:27:01 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 20:41:14 -0700
commit7e81ab9d3d9a22fb7b20c56f0cabc8ef51954014 (patch)
tree91da5cde67fcce6e22cda77a1f91e850cc5b4c4a /drivers/acpi
parentf4ebc993759dc25dc3db6b6f1a13a23df8264d4b (diff)
downloadop-kernel-dev-7e81ab9d3d9a22fb7b20c56f0cabc8ef51954014.zip
op-kernel-dev-7e81ab9d3d9a22fb7b20c56f0cabc8ef51954014.tar.gz
Fix unnecesary meminit
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/numa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/numa.c b/drivers/acpi/numa.c
index 4dd0dab..8fcd6a1 100644
--- a/drivers/acpi/numa.c
+++ b/drivers/acpi/numa.c
@@ -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;
OpenPOWER on IntegriCloud