|
@@ -5085,7 +5085,7 @@ static unsigned long __meminit zone_spanned_pages_in_node(int nid,
|
|
|
{
|
|
|
unsigned long zone_start_pfn, zone_end_pfn;
|
|
|
|
|
|
- /* When hotadd a new node, the node should be empty */
|
|
|
+ /* When hotadd a new node from cpu_up(), the node should be empty */
|
|
|
if (!node_start_pfn && !node_end_pfn)
|
|
|
return 0;
|
|
|
|
|
@@ -5152,7 +5152,7 @@ static unsigned long __meminit zone_absent_pages_in_node(int nid,
|
|
|
unsigned long zone_high = arch_zone_highest_possible_pfn[zone_type];
|
|
|
unsigned long zone_start_pfn, zone_end_pfn;
|
|
|
|
|
|
- /* When hotadd a new node, the node should be empty */
|
|
|
+ /* When hotadd a new node from cpu_up(), the node should be empty */
|
|
|
if (!node_start_pfn && !node_end_pfn)
|
|
|
return 0;
|
|
|
|