Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sparc64: Fix rwsem constant bug leading to hangs.
As noticed by Linus, it is critical that some of the rwsem constants be signed. Yet, hex constants are unsigned unless explicitly casted or negated. The most critical one is RWSEM_WAITING_BIAS. This bug was exacerbated by commit 424acaa ("rwsem: wake queued readers when writer blocks on active read lock") Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information