From: Fan Du <[email protected]>
Signed-off-by: Fan Du <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
---
arch/x86/mm/numa.c | 1 +
1 file changed, 1 insertion(+)
--- linux.orig/arch/x86/mm/numa.c 2018-12-23 19:38:17.363582512 +0800
+++ linux/arch/x86/mm/numa.c 2018-12-23 19:38:17.363582512 +0800
@@ -594,6 +594,7 @@ static int __init numa_register_memblks(
continue;
alloc_node_data(nid);
+ set_node_type(nid);
}
/* Dump memblock with node info and return. */