nptl: Fix __PTHREAD_MUTEX_INITIALIZER for !__PTHREAD_MUTEX_HAVE_PREV
commitacfe409119f5db9429a2a2235fd2ad1242940cac
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 26 Nov 2019 19:51:43 +0000 (26 16:51 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 26 Nov 2019 20:00:19 +0000 (26 17:00 -0300)
treeac7a2712988430ce726fe9e1ec2bf6384a813b1f
parentc72e5cd87dcb075782f9b6beea024b984f2e1130
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*).
sysdeps/nptl/bits/struct_mutex.h