From: Michael Bohan <mbohan@xxxxxxxxxxx> The memory banks are now sorted in bootmem_init() -- thus this code no longer needs fixing. Change-Id: Idc20f9c34bef416544081c3b5cf33fe120c63759 Signed-off-by: Michael Bohan <mbohan@xxxxxxxxxxx> Signed-off-by: Michael Bohan <mbohan@xxxxxxxxxxxxxx> --- arch/arm/mm/init.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index 7829cb5..ab4890f 100644 --- a/arch/arm/mm/init.c +++ b/arch/arm/mm/init.c @@ -531,9 +531,8 @@ static void __init free_unused_memmap_node(int node, struct meminfo *mi) unsigned int i; /* - * [FIXME] This relies on each bank being in address order. This - * may not be the case, especially if the user has provided the - * information on the command line. + * This relies on each bank being in address order. The banks + * are sorted previously in bootmem_init(). */ for_each_nodebank(i, mi, node) { struct membank *bank = &mi->bank[i]; -- 1.6.2.3 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html