diff options
author | Yasunori Goto <y-goto@jp.fujitsu.com> | 2007-05-08 03:23:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:14:57 -0400 |
commit | a3142c8e1dd57ff48040bdb3478cff9312543dc3 (patch) | |
tree | 14beeb03421338b917a956e9269a2ce95e0f62cf /drivers/acpi/numa.c | |
parent | 0ceb331433e8aad9c5f441a965d7c681f8b9046f (diff) |
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>
Diffstat (limited to 'drivers/acpi/numa.c')
-rw-r--r-- | drivers/acpi/numa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/numa.c b/drivers/acpi/numa.c index 8fcd6a15517f..4dd0dabe81cb 100644 --- a/drivers/acpi/numa.c +++ b/drivers/acpi/numa.c | |||
@@ -228,7 +228,7 @@ int __init acpi_numa_init(void) | |||
228 | return 0; | 228 | return 0; |
229 | } | 229 | } |
230 | 230 | ||
231 | int acpi_get_pxm(acpi_handle h) | 231 | int __meminit acpi_get_pxm(acpi_handle h) |
232 | { | 232 | { |
233 | unsigned long pxm; | 233 | unsigned long pxm; |
234 | acpi_status status; | 234 | acpi_status status; |
@@ -246,7 +246,7 @@ int acpi_get_pxm(acpi_handle h) | |||
246 | } | 246 | } |
247 | EXPORT_SYMBOL(acpi_get_pxm); | 247 | EXPORT_SYMBOL(acpi_get_pxm); |
248 | 248 | ||
249 | int acpi_get_node(acpi_handle *handle) | 249 | int __meminit acpi_get_node(acpi_handle *handle) |
250 | { | 250 | { |
251 | int pxm, node = -1; | 251 | int pxm, node = -1; |
252 | 252 | ||