[ARM] prevent the vmalloc cmdline argument from eating all memory
authorNicolas Pitre <nico@cam.org>
Fri, 19 Sep 2008 14:43:06 +0000 (10:43 -0400)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 28 Nov 2008 15:36:47 +0000 (15:36 +0000)
commit9210807cb5a3f19a0e954dd401e3a2c3626d1b48
treed73afb5a664ba8fcbbd0b5e5d48ac5533f7d4da0
parent6db015e49c03d42247d2a985475b833635406a4f
[ARM] prevent the vmalloc cmdline argument from eating all memory

Commit 8d5796d2ec6b5a4e7a52861144e63af438d6f8f7 allows for the vmalloc
area to be resized from the kernel cmdline.  Make sure it cannot overlap
with RAM entirely.

Signed-off-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/mmu.c