Skip to content

Commit

Permalink
Fix unnecesary meminit
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Yasunori Goto authored and Linus Torvalds committed May 9, 2007
1 parent f4ebc99 commit 7e81ab9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/acpi/numa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;

Expand Down

0 comments on commit 7e81ab9

Please sign in to comment.