summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/mincore.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/mm/mincore.c b/mm/mincore.c
index 07833dc5829d..72890780c1c9 100644
--- a/mm/mincore.c
+++ b/mm/mincore.c
@@ -118,9 +118,6 @@ asmlinkage long sys_mincore(unsigned long start, size_t len,
if (start & ~PAGE_CACHE_MASK)
goto einval;
- if (start < FIRST_USER_PGD_NR * PGDIR_SIZE)
- goto enomem;
-
limit = TASK_SIZE;
if (start >= limit)
goto enomem;