[PATCH] ARM: mm: Split memory banks that span multiple sections when sparsemem is enabled

2012-12-11 Thread Arve Hjønnevåg
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 --- arch/arm/mm/mmu.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index

[PATCH] ARM: mm: Split memory banks that span multiple sections when sparsemem is enabled

2012-12-11 Thread Arve Hjønnevåg
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 a...@android.com --- arch/arm/mm/mmu.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/arch/arm/mm/mmu.c