Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86, NUMA: Rename setup_node_bootmem() to setup_node_data()

After using memblock to replace bootmem, that function only sets up
node_data now.

Change the name to reflect what it actually does.

tj: Minor adjustment to the patch description.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Tejun Heo <tj@kernel.org>

authored by

Yinghai Lu and committed by
Tejun Heo
a56bca80 1b7e03ef

+3 -3
+3 -3
arch/x86/mm/numa.c
··· 189 189 return numa_add_memblk_to(nid, start, end, &numa_meminfo); 190 190 } 191 191 192 - /* Initialize bootmem allocator for a node */ 193 - static void __init setup_node_bootmem(int nid, u64 start, u64 end) 192 + /* Initialize NODE_DATA for a node on the local memory */ 193 + static void __init setup_node_data(int nid, u64 start, u64 end) 194 194 { 195 195 const u64 nd_low = PFN_PHYS(MAX_DMA_PFN); 196 196 const u64 nd_high = PFN_PHYS(max_pfn_mapped); ··· 522 522 } 523 523 524 524 if (start < end) 525 - setup_node_bootmem(nid, start, end); 525 + setup_node_data(nid, start, end); 526 526 } 527 527 528 528 return 0;