aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/mm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/mm')
-rw-r--r--arch/ia64/mm/discontig.c2
1 files changed, 2 insertions, 0 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
696pg_data_t *arch_alloc_nodedata(int nid) 697pg_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