]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/include/asm/memory.h
[ARM] prevent crashing when too much RAM installed
[linux-2.6-omap-h63xx.git] / arch / arm / include / asm / memory.h
index 1e070a2b561aa3390a02abf4ce0263b06a9055f0..7bcd69a9a88c85df35e6b31ef60c322d545691d2 100644 (file)
 #define arch_adjust_zones(node,size,holes) do { } while (0)
 #endif
 
+/*
+ * Amount of memory reserved for the vmalloc() area, and minimum
+ * address for vmalloc mappings.
+ */
+extern unsigned long vmalloc_reserve;
+
+#define VMALLOC_MIN            (void *)(VMALLOC_END - vmalloc_reserve)
+
 /*
  * PFNs are used to describe any physical page; this means
  * PFN 0 == physical address 0.