]> Git Repo - linux.git/blobdiff - fs/exec.c
fs: remove the second argument of k[un]map_atomic()
[linux.git] / fs / exec.c
index 153dee14fe559b9180a2f79b4b1f8534e25c76f5..1a07d1c2d78e91b74031926f7599e3fa05354f9b 100644 (file)
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -1339,13 +1339,13 @@ int remove_arg_zero(struct linux_binprm *bprm)
                        ret = -EFAULT;
                        goto out;
                }
-               kaddr = kmap_atomic(page, KM_USER0);
+               kaddr = kmap_atomic(page);
 
                for (; offset < PAGE_SIZE && kaddr[offset];
                                offset++, bprm->p++)
                        ;
 
-               kunmap_atomic(kaddr, KM_USER0);
+               kunmap_atomic(kaddr);
                put_arg_page(page);
 
                if (offset == PAGE_SIZE)
This page took 0.031691 seconds and 4 git commands to generate.