diff options
author | Olof Johansson <olof@lixom.net> | 2012-05-26 13:30:41 -0700 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-05-26 13:30:41 -0700 |
commit | 67e7ebc21ff5a5bbcb10c9a980896f0e253bcd40 (patch) | |
tree | f12706b80194f48aad3a1bd70ae9215d48875591 /arch/arm/mm/fault.c | |
parent | 516fb7a22a5347dc6db731369c365ed1f9b64632 (diff) | |
parent | c533f32e1ac440b8840159f89ece8c9cca2422b5 (diff) | |
download | linux-67e7ebc21ff5a5bbcb10c9a980896f0e253bcd40.tar.bz2 |
Merge branch 'vexpress-v3.4' of git://git.linaro.org/people/pawelmoll/linux into late/soc
A few device tree updates and an include file fix for versatile.
* 'vexpress-v3.4' of git://git.linaro.org/people/pawelmoll/linux:
ARM: vexpress: Remove twice included header files
ARM: vexpress: Device Tree updates
+ update to 3.4
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mm/fault.c')
-rw-r--r-- | arch/arm/mm/fault.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c index f07467533365..5bb48356d217 100644 --- a/arch/arm/mm/fault.c +++ b/arch/arm/mm/fault.c @@ -247,7 +247,9 @@ good_area: return handle_mm_fault(mm, vma, addr & PAGE_MASK, flags); check_stack: - if (vma->vm_flags & VM_GROWSDOWN && !expand_stack(vma, addr)) + /* Don't allow expansion below FIRST_USER_ADDRESS */ + if (vma->vm_flags & VM_GROWSDOWN && + addr >= FIRST_USER_ADDRESS && !expand_stack(vma, addr)) goto good_area; out: return fault; |