On some architectures you can get away with using an uninitialised mutex;
authorjsing <jsing@openbsd.org>
Sun, 5 Jan 2014 15:03:57 +0000 (15:03 +0000)
committerjsing <jsing@openbsd.org>
Sun, 5 Jan 2014 15:03:57 +0000 (15:03 +0000)
commit22f94106475e1c4865b088c6245c92502cc51c9a
tree3ba887216a00ea4d1d316deff4525bb6e7e7aff2
parente48b3cf3e3d4d3ae0c6286221ce87c5fb634feda
On some architectures you can get away with using an uninitialised mutex;
this is not the case on hppa (practically the only architecture where
unlocked has a non-zero value). This one has been hiding since r1.223...

Found the hard way by juanfra@
sys/dev/softraid.c