aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/page_alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 5e8e99dd595a..b0fda2b9ca76 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -5085,7 +5085,7 @@ static unsigned long __meminit zone_spanned_pages_in_node(int nid,
5085{ 5085{
5086 unsigned long zone_start_pfn, zone_end_pfn; 5086 unsigned long zone_start_pfn, zone_end_pfn;
5087 5087
5088 /* When hotadd a new node, the node should be empty */ 5088 /* When hotadd a new node from cpu_up(), the node should be empty */
5089 if (!node_start_pfn && !node_end_pfn) 5089 if (!node_start_pfn && !node_end_pfn)
5090 return 0; 5090 return 0;
5091 5091
@@ -5152,7 +5152,7 @@ static unsigned long __meminit zone_absent_pages_in_node(int nid,
5152 unsigned long zone_high = arch_zone_highest_possible_pfn[zone_type]; 5152 unsigned long zone_high = arch_zone_highest_possible_pfn[zone_type];
5153 unsigned long zone_start_pfn, zone_end_pfn; 5153 unsigned long zone_start_pfn, zone_end_pfn;
5154 5154
5155 /* When hotadd a new node, the node should be empty */ 5155 /* When hotadd a new node from cpu_up(), the node should be empty */
5156 if (!node_start_pfn && !node_end_pfn) 5156 if (!node_start_pfn && !node_end_pfn)
5157 return 0; 5157 return 0;
5158 5158