asmlinkage int sunos_wait4(compat_pid_t pid, compat_uint_t __user *stat_addr, int options, struct compat_rusage __user *ru) { int ret; ret = compat_sys_wait4((pid ? pid : ((compat_pid_t)-1)), stat_addr, options, ru); return ret; }
asmlinkage int sunos_wait4(compat_pid_t pid, u32 stat_addr, int options, u32 ru) { int ret; ret = compat_sys_wait4((pid ? pid : ((compat_pid_t)-1)), (compat_uint_t *)A(stat_addr), options, (struct compat_rusage *)A(ru)); return ret; }
asmlinkage int sys32_waitpid(compat_pid_t pid, unsigned int *stat_addr, int options) { return compat_sys_wait4(pid, stat_addr, options, NULL); }