diff options
Diffstat (limited to 'include/linux/compat.h')
-rw-r--r-- | include/linux/compat.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h index eb8a49d75ab3..3f448c65511b 100644 --- a/include/linux/compat.h +++ b/include/linux/compat.h | |||
@@ -327,17 +327,17 @@ asmlinkage long compat_sys_keyctl(u32 option, | |||
327 | u32 arg2, u32 arg3, u32 arg4, u32 arg5); | 327 | u32 arg2, u32 arg3, u32 arg4, u32 arg5); |
328 | asmlinkage long compat_sys_ustat(unsigned dev, struct compat_ustat __user *u32); | 328 | asmlinkage long compat_sys_ustat(unsigned dev, struct compat_ustat __user *u32); |
329 | 329 | ||
330 | asmlinkage ssize_t compat_sys_readv(unsigned long fd, | 330 | asmlinkage ssize_t compat_sys_readv(compat_ulong_t fd, |
331 | const struct compat_iovec __user *vec, unsigned long vlen); | 331 | const struct compat_iovec __user *vec, compat_ulong_t vlen); |
332 | asmlinkage ssize_t compat_sys_writev(unsigned long fd, | 332 | asmlinkage ssize_t compat_sys_writev(compat_ulong_t fd, |
333 | const struct compat_iovec __user *vec, unsigned long vlen); | 333 | const struct compat_iovec __user *vec, compat_ulong_t vlen); |
334 | asmlinkage ssize_t compat_sys_preadv(unsigned long fd, | 334 | asmlinkage ssize_t compat_sys_preadv(compat_ulong_t fd, |
335 | const struct compat_iovec __user *vec, | 335 | const struct compat_iovec __user *vec, |
336 | unsigned long vlen, u32 pos_low, u32 pos_high); | 336 | compat_ulong_t vlen, u32 pos_low, u32 pos_high); |
337 | asmlinkage ssize_t compat_sys_pwritev(unsigned long fd, | 337 | asmlinkage ssize_t compat_sys_pwritev(compat_ulong_t fd, |
338 | const struct compat_iovec __user *vec, | 338 | const struct compat_iovec __user *vec, |
339 | unsigned long vlen, u32 pos_low, u32 pos_high); | 339 | compat_ulong_t vlen, u32 pos_low, u32 pos_high); |
340 | asmlinkage long comat_sys_lseek(unsigned int, compat_off_t, unsigned int); | 340 | asmlinkage long compat_sys_lseek(unsigned int, compat_off_t, unsigned int); |
341 | 341 | ||
342 | asmlinkage long compat_sys_execve(const char __user *filename, const compat_uptr_t __user *argv, | 342 | asmlinkage long compat_sys_execve(const char __user *filename, const compat_uptr_t __user *argv, |
343 | const compat_uptr_t __user *envp); | 343 | const compat_uptr_t __user *envp); |
@@ -422,7 +422,7 @@ extern long compat_arch_ptrace(struct task_struct *child, compat_long_t request, | |||
422 | asmlinkage long compat_sys_ptrace(compat_long_t request, compat_long_t pid, | 422 | asmlinkage long compat_sys_ptrace(compat_long_t request, compat_long_t pid, |
423 | compat_long_t addr, compat_long_t data); | 423 | compat_long_t addr, compat_long_t data); |
424 | 424 | ||
425 | asmlinkage long compat_sys_lookup_dcookie(u32, u32, char __user *, size_t); | 425 | asmlinkage long compat_sys_lookup_dcookie(u32, u32, char __user *, compat_size_t); |
426 | /* | 426 | /* |
427 | * epoll (fs/eventpoll.c) compat bits follow ... | 427 | * epoll (fs/eventpoll.c) compat bits follow ... |
428 | */ | 428 | */ |