From 4ba3f7c55938d7e51e23c1feedd035dd46716ae7 Mon Sep 17 00:00:00 2001 From: Russell King Date: Wed, 1 Oct 2008 21:38:23 +0100 Subject: [ARM] mm: allow LH7A40x to use sparsemem Enable Sparsemem support for LH7A40x SoCs, while still allowing the existing discontig support for the time being. Signed-off-by: Russell King --- arch/arm/mach-lh7a40x/include/mach/memory.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'arch/arm/mach-lh7a40x/include') diff --git a/arch/arm/mach-lh7a40x/include/mach/memory.h b/arch/arm/mach-lh7a40x/include/mach/memory.h index f7107b4c197..1da14ff66c9 100644 --- a/arch/arm/mach-lh7a40x/include/mach/memory.h +++ b/arch/arm/mach-lh7a40x/include/mach/memory.h @@ -73,4 +73,10 @@ #endif +/* + * Sparsemem version of the above + */ +#define MAX_PHYSMEM_BITS 32 +#define SECTION_SIZE_BITS 24 + #endif -- cgit v1.2.3-18-g5258