diff options
author | Tang Chen <tangchen@cn.fujitsu.com> | 2013-07-08 19:00:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-09 13:33:23 -0400 |
commit | 7e9f5eb03d3762ec89dda1888c774ae7b4040af7 (patch) | |
tree | db35db0c92ff73e48b1b14b0a56dcdbbe283d9da /mm/memory_hotplug.c | |
parent | d8bbdd773d64b30b6b36f027ad2e182ed2045f3c (diff) |
mm/memory_hotplug.c: fix a comment typo in register_page_bootmem_info_node()
Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memory_hotplug.c')
-rw-r--r-- | mm/memory_hotplug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index f5ba127b2051..cd2990fdf6c1 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) | |||
208 | pfn = pgdat->node_start_pfn; | 208 | pfn = pgdat->node_start_pfn; |
209 | end_pfn = pgdat_end_pfn(pgdat); | 209 | end_pfn = pgdat_end_pfn(pgdat); |
210 | 210 | ||
211 | /* register_section info */ | 211 | /* register section info */ |
212 | for (; pfn < end_pfn; pfn += PAGES_PER_SECTION) { | 212 | for (; pfn < end_pfn; pfn += PAGES_PER_SECTION) { |
213 | /* | 213 | /* |
214 | * Some platforms can assign the same pfn to multiple nodes - on | 214 | * Some platforms can assign the same pfn to multiple nodes - on |
215 | * node0 as well as nodeN. To avoid registering a pfn against | 215 | * node0 as well as nodeN. To avoid registering a pfn against |
216 | * multiple nodes we check that this pfn does not already | 216 | * multiple nodes we check that this pfn does not already |
217 | * reside in some other node. | 217 | * reside in some other nodes. |
218 | */ | 218 | */ |
219 | if (pfn_valid(pfn) && (pfn_to_nid(pfn) == node)) | 219 | if (pfn_valid(pfn) && (pfn_to_nid(pfn) == node)) |
220 | register_page_bootmem_info_section(pfn); | 220 | register_page_bootmem_info_section(pfn); |