HomeFreeBSD

rwlock: tidy up r313392

Description

rwlock: tidy up r313392

While a new bit was added and thread alignment got shifted to accomodate it,
RW_READERS_SHIFT was not modified accordingly and clashed with the new flag.

This was surprisingly harmless. If the lock was taken for writing, other flags
were tested. If the lock was taken for reading, it would correctly work for
readers > 1 and this was the only relevant test performed.

Details

Provenance
mjgAuthored on
Parents
rS313783: Remove Micro Channel Architecture support. Of the commonly available
Branches
Unknown
Tags
Unknown