summaryrefslogtreecommitdiffstats
path: root/mm/nobootmem.c
diff options
context:
space:
mode:
authorWanpeng Li <liwanp@linux.vnet.ibm.com>2012-10-08 16:32:24 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-09 16:22:47 +0900
commitf2d52fe51c8c0a18cf5fbe583bad51090d12c146 (patch)
treeab7ffa1804c4d97f6aed88e02cb5fa7a19021e75 /mm/nobootmem.c
parente9d24ad30fc5c4c601824fb39712350b053ca812 (diff)
downloadlinux-f2d52fe51c8c0a18cf5fbe583bad51090d12c146.tar.gz
linux-f2d52fe51c8c0a18cf5fbe583bad51090d12c146.tar.bz2
linux-f2d52fe51c8c0a18cf5fbe583bad51090d12c146.zip
mm/memblock: cleanup early_node_map[] related comments
Commit 0ee332c14518 ("memblock: Kill early_node_map[]") removed early_node_map[]. Clean up the comments to comply with that change. Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com> Cc: Michal Hocko <mhocko@suse.cz> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Minchan Kim <minchan@kernel.org> Cc: Gavin Shan <shangw@linux.vnet.ibm.com> Cc: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/nobootmem.c')
-rw-r--r--mm/nobootmem.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/nobootmem.c b/mm/nobootmem.c
index 405573010f99..bd82f6b31411 100644
--- a/mm/nobootmem.c
+++ b/mm/nobootmem.c
@@ -162,8 +162,6 @@ unsigned long __init free_all_bootmem(void)
* We need to use MAX_NUMNODES instead of NODE_DATA(0)->node_id
* because in some case like Node0 doesn't have RAM installed
* low ram will be on Node1
- * Use MAX_NUMNODES will make sure all ranges in early_node_map[]
- * will be used instead of only Node0 related
*/
return free_low_memory_core_early(MAX_NUMNODES);
}