ux500: Set VMALLOC_END to the highest possible value below DMA area
Keep 8MB of free space between VMALLOC_ENC & DMA area in case of vmalloc overflow
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
Change-Id: I7472b2ab4ba082601501bb64d96355003ac1c8f1
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/26610
Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
Tested-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
diff --git a/arch/arm/mach-ux500/include/mach/vmalloc.h b/arch/arm/mach-ux500/include/mach/vmalloc.h
index a4945cb..8aec632 100644
--- a/arch/arm/mach-ux500/include/mach/vmalloc.h
+++ b/arch/arm/mach-ux500/include/mach/vmalloc.h
@@ -15,4 +15,4 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#define VMALLOC_END 0xf0000000UL
+#define VMALLOC_END 0xfe600000UL