X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=mm%2Fmincore.c;h=8cb508f84ea49ca03a7005574208ab3ec4a4e567;hb=be71cb5b526709b8e42c707dc9e8c5b034ac8d1c;hp=5efe0ded69b1857935d0295e9999210e4999a516;hpb=e0cc09e295f346b7921e921f385fe5213472316a;p=~andy%2Flinux diff --git a/mm/mincore.c b/mm/mincore.c index 5efe0ded69b..8cb508f84ea 100644 --- a/mm/mincore.c +++ b/mm/mincore.c @@ -33,7 +33,7 @@ static unsigned char mincore_page(struct address_space *mapping, pgoff_t pgoff) * When tmpfs swaps out a page from a file, any process mapping that * file will not get a swp_entry_t in its pte, but rather it is like * any other file mapping (ie. marked !present and faulted in with - * tmpfs's .nopage). So swapped out tmpfs mappings are tested here. + * tmpfs's .fault). So swapped out tmpfs mappings are tested here. * * However when tmpfs moves the page from pagecache and into swapcache, * it is still in core, but the find_get_page below won't find it. @@ -177,8 +177,8 @@ none_mapped: * mapped * -EAGAIN - A kernel resource was temporarily unavailable. */ -asmlinkage long sys_mincore(unsigned long start, size_t len, - unsigned char __user * vec) +SYSCALL_DEFINE3(mincore, unsigned long, start, size_t, len, + unsigned char __user *, vec) { long retval; unsigned long pages;