diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/mm/discontig.c | 2 | ||||
-rw-r--r-- | arch/x86_64/mm/init.c | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/arch/ia64/mm/discontig.c b/arch/ia64/mm/discontig.c index 872da7a2accd..94844442812a 100644 --- a/arch/ia64/mm/discontig.c +++ b/arch/ia64/mm/discontig.c | |||
@@ -693,6 +693,7 @@ void __init paging_init(void) | |||
693 | zero_page_memmap_ptr = virt_to_page(ia64_imva(empty_zero_page)); | 693 | zero_page_memmap_ptr = virt_to_page(ia64_imva(empty_zero_page)); |
694 | } | 694 | } |
695 | 695 | ||
696 | #ifdef CONFIG_MEMORY_HOTPLUG | ||
696 | pg_data_t *arch_alloc_nodedata(int nid) | 697 | pg_data_t *arch_alloc_nodedata(int nid) |
697 | { | 698 | { |
698 | unsigned long size = compute_pernodesize(nid); | 699 | unsigned long size = compute_pernodesize(nid); |
@@ -710,3 +711,4 @@ void arch_refresh_nodedata(int update_node, pg_data_t *update_pgdat) | |||
710 | pgdat_list[update_node] = update_pgdat; | 711 | pgdat_list[update_node] = update_pgdat; |
711 | scatter_node_data(); | 712 | scatter_node_data(); |
712 | } | 713 | } |
714 | #endif | ||
diff --git a/arch/x86_64/mm/init.c b/arch/x86_64/mm/init.c index c0822683b916..1336da8bdee1 100644 --- a/arch/x86_64/mm/init.c +++ b/arch/x86_64/mm/init.c | |||
@@ -172,7 +172,7 @@ __set_fixmap (enum fixed_addresses idx, unsigned long phys, pgprot_t prot) | |||
172 | set_pte_phys(address, phys, prot); | 172 | set_pte_phys(address, phys, prot); |
173 | } | 173 | } |
174 | 174 | ||
175 | unsigned long __initdata table_start, table_end; | 175 | unsigned long __meminitdata table_start, table_end; |
176 | 176 | ||
177 | static __meminit void *alloc_low_page(unsigned long *phys) | 177 | static __meminit void *alloc_low_page(unsigned long *phys) |
178 | { | 178 | { |
@@ -204,7 +204,7 @@ static __meminit void unmap_low_page(void *adr) | |||
204 | } | 204 | } |
205 | 205 | ||
206 | /* Must run before zap_low_mappings */ | 206 | /* Must run before zap_low_mappings */ |
207 | __init void *early_ioremap(unsigned long addr, unsigned long size) | 207 | __meminit void *early_ioremap(unsigned long addr, unsigned long size) |
208 | { | 208 | { |
209 | unsigned long vaddr; | 209 | unsigned long vaddr; |
210 | pmd_t *pmd, *last_pmd; | 210 | pmd_t *pmd, *last_pmd; |
@@ -233,7 +233,7 @@ __init void *early_ioremap(unsigned long addr, unsigned long size) | |||
233 | } | 233 | } |
234 | 234 | ||
235 | /* To avoid virtual aliases later */ | 235 | /* To avoid virtual aliases later */ |
236 | __init void early_iounmap(void *addr, unsigned long size) | 236 | __meminit void early_iounmap(void *addr, unsigned long size) |
237 | { | 237 | { |
238 | unsigned long vaddr; | 238 | unsigned long vaddr; |
239 | pmd_t *pmd; | 239 | pmd_t *pmd; |