diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2016-09-15 11:21:52 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2016-09-15 16:31:50 -0300 |
commit | 09cb278539d6ebb30a4de89a6bfd8bda1b085c07 (patch) | |
tree | b3380b0de0a9eed5c55792a6057515fd368d3582 /sysdeps/sparc/dl-procinfo.h | |
parent | fbc994921b459d57b681a926780933a20745edf5 (diff) | |
download | glibc-09cb278539d6ebb30a4de89a6bfd8bda1b085c07.zip glibc-09cb278539d6ebb30a4de89a6bfd8bda1b085c07.tar.gz glibc-09cb278539d6ebb30a4de89a6bfd8bda1b085c07.tar.bz2 |
nptl: Consolidate sem_init implementations
Current sparc32 sem_init and default one only differ on sem.newsem.pad
initialization. This patch removes sparc32 and sparc32v9 sem_init arch
specific implementation and set sparc32 to use nptl default one.
The default implementation sets the required sem.newsem.pad to 0 (which
is ununsed in other architectures).
I checked on i686 and a sparc32v9 build.
* nptl/sem_init.c (sem_init): Init pad value to 0.
* sysdeps/sparc/sparc32/sem_init.c: Remove file.
* sysdeps/sparc/sparc32/sparcv9/sem_init.c: Likewise.
Diffstat (limited to 'sysdeps/sparc/dl-procinfo.h')
0 files changed, 0 insertions, 0 deletions