patch-2.3.15 linux/kernel/exit.c
Next file: linux/kernel/info.c
Previous file: linux/kernel/exec_domain.c
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Mon Aug 23 11:15:53 1999
- Orig file:
v2.3.14/linux/kernel/exit.c
- Orig date:
Thu Jul 29 13:40:13 1999
diff -u --recursive --new-file v2.3.14/linux/kernel/exit.c linux/kernel/exit.c
@@ -412,12 +412,12 @@
goto fake_volatile;
}
-asmlinkage int sys_exit(int error_code)
+asmlinkage long sys_exit(int error_code)
{
do_exit((error_code&0xff)<<8);
}
-asmlinkage int sys_wait4(pid_t pid,unsigned int * stat_addr, int options, struct rusage * ru)
+asmlinkage long sys_wait4(pid_t pid,unsigned int * stat_addr, int options, struct rusage * ru)
{
int flag, retval;
DECLARE_WAITQUEUE(wait, current);
@@ -505,13 +505,13 @@
return retval;
}
-#ifndef __alpha__
+#if !defined(__alpha__) && !defined(__ia64__)
/*
* sys_waitpid() remains for compatibility. waitpid() should be
* implemented by calling sys_wait4() from libc.a.
*/
-asmlinkage int sys_waitpid(pid_t pid,unsigned int * stat_addr, int options)
+asmlinkage long sys_waitpid(pid_t pid,unsigned int * stat_addr, int options)
{
return sys_wait4(pid, stat_addr, options, NULL);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)