diff options
Diffstat (limited to 'mm/mmap.c')
-rw-r--r-- | mm/mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | /* |