diff options
| author | Jan Beulich <jbeulich@novell.com> | 2008-08-21 09:28:42 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-08-22 01:51:54 -0400 |
| commit | 9482ac6e34dd1890a9a956d460a135bf992cb54a (patch) | |
| tree | f2ad78c1f1b66b702fb2e5d62a99af58054d9bfa | |
| 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>
| -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; | |||
| 241 | static unsigned long __meminitdata table_end; | 241 | static unsigned long __meminitdata table_end; |
| 242 | static unsigned long __meminitdata table_top; | 242 | static unsigned long __meminitdata table_top; |
| 243 | 243 | ||
| 244 | static __meminit void *alloc_low_page(unsigned long *phys) | 244 | static __ref void *alloc_low_page(unsigned long *phys) |
| 245 | { | 245 | { |
| 246 | unsigned long pfn = table_end++; | 246 | unsigned long pfn = table_end++; |
| 247 | void *adr; | 247 | void *adr; |
| @@ -262,7 +262,7 @@ static __meminit void *alloc_low_page(unsigned long *phys) | |||
| 262 | return adr; | 262 | return adr; |
| 263 | } | 263 | } |
| 264 | 264 | ||
| 265 | static __meminit void unmap_low_page(void *adr) | 265 | static __ref void unmap_low_page(void *adr) |
| 266 | { | 266 | { |
| 267 | if (after_bootmem) | 267 | if (after_bootmem) |
| 268 | return; | 268 | return; |
