diff options
author | Michel Lespinasse <walken@google.com> | 2013-05-07 06:45:49 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-07 07:20:15 -0700 |
commit | e2d57f782c8a906f80d5b5f54da803c1638929d7 (patch) | |
tree | 96a3d2f26b8257d39db40ec4cd3cd52b3ef14588 /include | |
parent | c1be5a5b1b355d40e6cf79cc979eb66dafa24ad1 (diff) |
rwsem: make the waiter type an enumeration rather than a bitmask
We are not planning to add some new waiter flags, so we can convert the
waiter type into an enumeration.
Background: David Howells suggested I do this back when I tried adding
a new waiter type for unfair readers. However, I believe the cleanup
applies regardless of that use case.
Signed-off-by: Michel Lespinasse <walken@google.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Acked-by: Davidlohr Bueso <davidlohr.bueso@hp.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions