msm: Change SPARSEMEM section_size to 256MB
Reduce SPARSEMEM section_size to 256MB. This is needed
to support memory offlining.
Reserving 512MB as movable zone drastically reduces the
virtual memory available for vmalloc allocations.
Change-Id: I5e96357ef3907ad94ba32660f281cc78b0072003
Signed-off-by: Jack Cheung <jackc@codeaurora.org>
diff --git a/arch/arm/mach-msm/include/mach/memory.h b/arch/arm/mach-msm/include/mach/memory.h
index 976db60..9cd73db 100644
--- a/arch/arm/mach-msm/include/mach/memory.h
+++ b/arch/arm/mach-msm/include/mach/memory.h
@@ -21,7 +21,7 @@
#define PLAT_PHYS_OFFSET UL(CONFIG_PHYS_OFFSET)
#define MAX_PHYSMEM_BITS 32
-#define SECTION_SIZE_BITS 29
+#define SECTION_SIZE_BITS 28
/* Maximum number of Memory Regions */
#define MAX_NR_REGIONS 4