global cleanup to use the new syscall interface
This commit is contained in:
parent
be82e122bf
commit
aa398f56fa
160 changed files with 180 additions and 238 deletions
|
|
@ -5,8 +5,8 @@
|
|||
int semget(key_t key, int n, int fl)
|
||||
{
|
||||
#ifdef __NR_semget
|
||||
return syscall3(__NR_semget, key, n, fl);
|
||||
return syscall(SYS_semget, key, n, fl);
|
||||
#else
|
||||
return syscall4(__NR_ipc, IPCOP_semget, key, n, fl);
|
||||
return syscall(SYS_ipc, IPCOP_semget, key, n, fl);
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue