ARM: mm: Split memory banks that span multiple sections when sparsemem is enabled
authorArve Hjønnevåg <arve@android.com>
Fri, 7 Dec 2012 04:46:49 +0000 (20:46 -0800)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 22:51:53 +0000 (15:51 -0700)
commit4ee50207d6c722da637bb6cd22de0cf8a9f3f365
tree85326bef89da5b511a4593d804ea23151e1af56c
parent62f59056d4abe2d1145d58ae12fa9e0661446a9c
ARM: mm: Split memory banks that span multiple sections when sparsemem is enabled

This fixes a crash in mem_init which assumes all pages in a memory bank
are part of the same page array.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
arch/arm/mm/mmu.c