diff options
author | KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> | 2007-11-28 19:21:58 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-29 12:24:54 -0500 |
commit | b6fd6ecb830444636bc4e9d626f214082c91fffe (patch) | |
tree | 17a63f66c8b52f41743d626ae7db10a7ebd0f1b6 /arch | |
parent | e0dc3a53def41efeabb3f39ad8e9f67e81ca1025 (diff) |
memory hotplug x86_64: fix section mismatch in init_memory_mapping()
Changes __meminit to __init_refok.
WARNING: vmlinux.o(.text+0x1d07c): Section mismatch: reference to
.init.text:find_e820_area (between 'init_memory_mapping' and 'arch_add_memory')
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/mm/init_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index a7308b2cd058..0f9c8c890658 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c | |||
@@ -345,7 +345,7 @@ static void __init find_early_table_space(unsigned long end) | |||
345 | /* Setup the direct mapping of the physical memory at PAGE_OFFSET. | 345 | /* Setup the direct mapping of the physical memory at PAGE_OFFSET. |
346 | This runs before bootmem is initialized and gets pages directly from the | 346 | This runs before bootmem is initialized and gets pages directly from the |
347 | physical memory. To access them they are temporarily mapped. */ | 347 | physical memory. To access them they are temporarily mapped. */ |
348 | void __meminit init_memory_mapping(unsigned long start, unsigned long end) | 348 | void __init_refok init_memory_mapping(unsigned long start, unsigned long end) |
349 | { | 349 | { |
350 | unsigned long next; | 350 | unsigned long next; |
351 | 351 | ||