diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2016-10-26 18:23:11 -0200 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2016-12-28 20:31:05 -0200 |
commit | 214f017fdfce8d4d05062aa1babe6066d3e39d6f (patch) | |
tree | 60aa67781be4a1a4b1e1944bf1c646474c816e21 /sysdeps/unix/sysv/linux/ia64 | |
parent | e01f79e4126f5d21a0f83cee83b156fe5ad39940 (diff) | |
download | glibc-214f017fdfce8d4d05062aa1babe6066d3e39d6f.zip glibc-214f017fdfce8d4d05062aa1babe6066d3e39d6f.tar.gz glibc-214f017fdfce8d4d05062aa1babe6066d3e39d6f.tar.bz2 |
Use shmdt syscall for linux implementation
this patch add a direct call to shmdt syscall if it is supported by
kernel features.
hecked on x86_64, i686, powerpc64le, aarch64, and armhf.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
* sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
* sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
* sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
* sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
* sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
defined.
Diffstat (limited to 'sysdeps/unix/sysv/linux/ia64')
-rw-r--r-- | sysdeps/unix/sysv/linux/ia64/syscalls.list | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/syscalls.list b/sysdeps/unix/sysv/linux/ia64/syscalls.list index 90bd870..5ebade1 100644 --- a/sysdeps/unix/sysv/linux/ia64/syscalls.list +++ b/sysdeps/unix/sysv/linux/ia64/syscalls.list @@ -5,7 +5,6 @@ umount2 - umount 2 __umount2 umount2 getpriority - getpriority i:ii __getpriority getpriority # semaphore and shm system calls -shmdt - shmdt i:s __shmdt shmdt shmget - shmget i:iii __shmget shmget # proper socket implementations: |