X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Fmincore.c;h=72890780c1c94f0d89740ac5942fbdaa3dbae01b;hb=242e54686257493f0b10ac557e730419d9af7d24;hp=07833dc5829df353b4d3cbab0c8c0af668b4f7d7;hpb=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2;p=linux-2.6 diff --git a/mm/mincore.c b/mm/mincore.c index 07833dc582..72890780c1 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;