Update of /cvsroot/kernelloader/linux/minimalistic
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv4053
Modified Files:
syscalls.S unistd.h
Log Message:
Define waitpid syscall only for ABI o32.
Index: unistd.h
===================================================================
RCS file: /cvsroot/kernelloader/linux/minimalistic/unistd.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** unistd.h 26 Aug 2014 15:55:09 -0000 1.4
--- unistd.h 6 Sep 2014 16:51:25 -0000 1.5
***************
*** 22,26 ****
--- 22,28 ----
pid_t fork(void);
pid_t clone(int flags, void *stack, pid_t *parent_tid, pid_t *child_tid);
+ #if _MIPS_SIM == _ABIO32
pid_t waitpid(pid_t pid, int *status, int options);
+ #endif
/** Exit current thread. */
Index: syscalls.S
===================================================================
RCS file: /cvsroot/kernelloader/linux/minimalistic/syscalls.S,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** syscalls.S 26 Aug 2014 15:55:09 -0000 1.13
--- syscalls.S 6 Sep 2014 16:51:25 -0000 1.14
***************
*** 43,47 ****
--- 43,49 ----
DEFINE_SYSCALL(exit)
DEFINE_SYSCALL(exit_group)
+ #if _MIPS_SIM == _ABIO32
DEFINE_SYSCALL(waitpid)
+ #endif
/* system */
|