mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-25 12:11:10 +00:00
nptl: Fix __PTHREAD_MUTEX_INITIALIZER for !__PTHREAD_MUTEX_HAVE_PREV
The nptl: Add struct_mutex.h added a wrong initializer for architectures that uses the generic struct_mutex.h. Checked on sparcv9-linux-gnu (where I noted the issue with the nptl/tst-initializers1*).
This commit is contained in:
parent
c72e5cd87d
commit
acfe409119
@ -78,7 +78,7 @@ struct __pthread_mutex_s
|
|||||||
0, 0, 0, 0, __kind, 0, { 0, 0 }
|
0, 0, 0, 0, __kind, 0, { 0, 0 }
|
||||||
#else
|
#else
|
||||||
# define __PTHREAD_MUTEX_INITIALIZER(__kind) \
|
# define __PTHREAD_MUTEX_INITIALIZER(__kind) \
|
||||||
0, 0, 0, 0, __kind, { 0 }
|
0, 0, 0, __kind, 0, { 0 }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user