projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0dc3a5
)
memory hotplug x86_64: fix section mismatch in init_memory_mapping()
author
KAMEZAWA Hiroyuki
<
[email protected]
>
Thu, 29 Nov 2007 00:21:58 +0000
(16:21 -0800)
committer
Linus Torvalds
<
[email protected]
>
Thu, 29 Nov 2007 17:24:54 +0000
(09:24 -0800)
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 <
[email protected]
>
Cc: Ingo Molnar <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/x86/mm/init_64.c
patch
|
blob
|
history
diff --git
a/arch/x86/mm/init_64.c
b/arch/x86/mm/init_64.c
index a7308b2cd058291bbde282fd0e544ff469c6d417..0f9c8c890658043773018ad32e8786953dae8c79 100644
(file)
--- 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)
/* Setup the direct mapping of the physical memory at PAGE_OFFSET.
This runs before bootmem is initialized and gets pages directly from the
physical memory. To access them they are temporarily mapped. */
-void __
meminit
init_memory_mapping(unsigned long start, unsigned long end)
+void __
init_refok
init_memory_mapping(unsigned long start, unsigned long end)
{
unsigned long next;