From: Tang Chen Date: Mon, 8 Jul 2013 23:00:23 +0000 (-0700) Subject: mm/memory_hotplug.c: fix a comment typo in register_page_bootmem_info_node() X-Git-Tag: v3.11-rc1~67^2~73 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7e9f5eb03d3762ec89dda1888c774ae7b4040af7;p=profile%2Fivi%2Fkernel-x86-ivi.git mm/memory_hotplug.c: fix a comment typo in register_page_bootmem_info_node() Signed-off-by: Tang Chen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index f5ba127..cd2990f 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c @@ -208,13 +208,13 @@ void register_page_bootmem_info_node(struct pglist_data *pgdat) pfn = pgdat->node_start_pfn; end_pfn = pgdat_end_pfn(pgdat); - /* register_section info */ + /* register section info */ for (; pfn < end_pfn; pfn += PAGES_PER_SECTION) { /* * Some platforms can assign the same pfn to multiple nodes - on * node0 as well as nodeN. To avoid registering a pfn against * multiple nodes we check that this pfn does not already - * reside in some other node. + * reside in some other nodes. */ if (pfn_valid(pfn) && (pfn_to_nid(pfn) == node)) register_page_bootmem_info_section(pfn);