diff options
author | Jan Beulich <jbeulich@novell.com> | 2008-08-21 14:28:42 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-22 07:51:54 +0200 |
commit | 9482ac6e34dd1890a9a956d460a135bf992cb54a (patch) | |
tree | f2ad78c1f1b66b702fb2e5d62a99af58054d9bfa /arch/x86/mm/init_64.c | |
parent | 8ae3a5a8dff2c92bd1087bb97c4a3bb61174303e (diff) |
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/x86/mm/init_64.c')
-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 8f487705c3e..d3746efb060 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; |