Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Yasunori Goto and committed by
Linus Torvalds
7e81ab9d f4ebc993

+2 -2
+2 -2
drivers/acpi/numa.c
··· 228 228 return 0; 229 229 } 230 230 231 - int __meminit acpi_get_pxm(acpi_handle h) 231 + int acpi_get_pxm(acpi_handle h) 232 232 { 233 233 unsigned long pxm; 234 234 acpi_status status; ··· 246 246 } 247 247 EXPORT_SYMBOL(acpi_get_pxm); 248 248 249 - int __meminit acpi_get_node(acpi_handle *handle) 249 + int acpi_get_node(acpi_handle *handle) 250 250 { 251 251 int pxm, node = -1; 252 252