diff options
| author | Jeff Dike <jdike@addtoit.com> | 2004-11-15 04:01:12 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-11-15 04:01:12 -0800 |
| commit | 86999f872de737ee222a01eb6e463e06f0f4876e (patch) | |
| tree | 01a2825e3e36c283a7b6092eb897d0bd20b51b97 /include | |
| parent | 431a4c7bad18a5db2434d48b2eb89e52d1436a63 (diff) | |
[PATCH] uml: 64-bit cleanups in the system calls
64-bit cleanup - this fixes the return values of the system calls to be longs.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-um/unistd.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/asm-um/unistd.h b/include/asm-um/unistd.h index 512f2257cff5..fa7524ab72db 100644 --- a/include/asm-um/unistd.h +++ b/include/asm-um/unistd.h @@ -84,7 +84,7 @@ static inline pid_t setsid(void) KERNEL_CALL(pid_t, sys_setsid) } -static inline long lseek(unsigned int fd, off_t offset, unsigned int whence) +static inline off_t lseek(unsigned int fd, off_t offset, unsigned int whence) { KERNEL_CALL(long, sys_lseek, fd, offset, whence) } @@ -102,13 +102,12 @@ static inline int write(unsigned int fd, char * buf, int len) long sys_mmap2(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff); -int sys_execve(char *file, char **argv, char **env); +long sys_execve(char *file, char **argv, char **env); long sys_clone(unsigned long clone_flags, unsigned long newsp, int *parent_tid, int *child_tid); long sys_fork(void); long sys_vfork(void); -int sys_pipe(unsigned long *fildes); -int sys_ptrace(long request, long pid, long addr, long data); +long sys_pipe(unsigned long *fildes); struct sigaction; asmlinkage long sys_rt_sigaction(int sig, const struct sigaction __user *act, |
