|
@@ -401,6 +401,7 @@ static void __init node_mem_init(cnodeid_t node)
|
|
* Allocate the node data structures on the node first.
|
|
* Allocate the node data structures on the node first.
|
|
*/
|
|
*/
|
|
__node_data[node] = __va(slot_freepfn << PAGE_SHIFT);
|
|
__node_data[node] = __va(slot_freepfn << PAGE_SHIFT);
|
|
|
|
+ memset(__node_data[node], 0, PAGE_SIZE);
|
|
|
|
|
|
NODE_DATA(node)->bdata = &bootmem_node_data[node];
|
|
NODE_DATA(node)->bdata = &bootmem_node_data[node];
|
|
NODE_DATA(node)->node_start_pfn = start_pfn;
|
|
NODE_DATA(node)->node_start_pfn = start_pfn;
|