aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/mmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/mmap.c b/mm/mmap.c
index bb4c963cc534..ad6e4eaf34f8 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -245,7 +245,7 @@ asmlinkage unsigned long sys_brk(unsigned long brk)
245 245
246 down_write(&mm->mmap_sem); 246 down_write(&mm->mmap_sem);
247 247
248 if (brk < mm->end_code) 248 if (brk < mm->start_brk)
249 goto out; 249 goto out;
250 250
251 /* 251 /*