X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Farm%2Fmach-rpc%2Finclude%2Fmach%2Fmemory.h;h=9bf7e43e286337f8847a59c79c96303a022d9f45;hb=07f841b7c587a3cbf481509be09ba5eda05f8d31;hp=05425d558ee794518be2bc4508fd48fd20c59d84;hpb=b7a69ac303cbfc8d6fa8e91d10e8049244ba6847;p=linux-2.6-omap-h63xx.git diff --git a/arch/arm/mach-rpc/include/mach/memory.h b/arch/arm/mach-rpc/include/mach/memory.h index 05425d558ee..9bf7e43e286 100644 --- a/arch/arm/mach-rpc/include/mach/memory.h +++ b/arch/arm/mach-rpc/include/mach/memory.h @@ -36,4 +36,12 @@ #define FLUSH_BASE_PHYS 0x00000000 #define FLUSH_BASE 0xdf000000 +/* + * Sparsemem support. Each section is a maximum of 64MB. The sections + * are offset by 128MB and can cover 128MB, so that gives us a maximum + * of 29 physmem bits. + */ +#define MAX_PHYSMEM_BITS 29 +#define SECTION_SIZE_BITS 26 + #endif