diff options
author | Jan Beulich <jbeulich@novell.com> | 2008-08-21 15:28:42 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-22 07:51:54 +0200 |
commit | 9482ac6e34dd1890a9a956d460a135bf992cb54a (patch) | |
tree | f2ad78c1f1b66b702fb2e5d62a99af58054d9bfa /arch | |
parent | x86: fix 1:1 mapping init on 64-bit (memory hotplug case) (diff) | |
download | linux-9482ac6e34dd1890a9a956d460a135bf992cb54a.tar.xz linux-9482ac6e34dd1890a9a956d460a135bf992cb54a.zip |
x86: fix two modpost warnings in mm/init_64.c
early_io{re,un}map() are __init and hence can't be called from __meminit
functions.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/mm/init_64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 8f487705c3e6..d3746efb060d 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c @@ -241,7 +241,7 @@ static unsigned long __initdata table_start; static unsigned long __meminitdata table_end; static unsigned long __meminitdata table_top; -static __meminit void *alloc_low_page(unsigned long *phys) +static __ref void *alloc_low_page(unsigned long *phys) { unsigned long pfn = table_end++; void *adr; @@ -262,7 +262,7 @@ static __meminit void *alloc_low_page(unsigned long *phys) return adr; } -static __meminit void unmap_low_page(void *adr) +static __ref void unmap_low_page(void *adr) { if (after_bootmem) return; |