memory hotplug: fix comments when adding section
Subsystems (2)
[email protected]
maintainerPATCH 131/131 memory hotplug: fix comments when adding section
From: Fan Du <[email protected]>
Subject: memory hotplug: fix comments when adding section
Here, pfn_to_node should be page_to_nid.
Signed-off-by Fan Du <[email protected]>
Acked-by Michal Hocko <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/memory_hotplug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/memory_hotplug.c renamed from mm/memory_hotplug.c~memory-hotplug-fix-comments-when-add-section +1 -1
@@ -265,7 +265,7 @@ static int __meminit __add_section(int n/* * Make all the pages reserved so that nobody will stumble over half * initialized state. -* FIXME: We also have to associate it with a node because pfn_to_node +* FIXME: We also have to associate it with a node because page_to_nid * relies on having page with the proper node. */ for (i =0 ; i <PAGES_PER_SECTION ; i++) {
_