diff options
author | Matthew Wilcox <matthew@wil.cx> | 2008-03-14 14:35:22 -0400 |
---|---|---|
committer | Matthew Wilcox <willy@linux.intel.com> | 2008-03-14 14:45:21 -0400 |
commit | b1619dbd79aa25354f9049979029ce172792f0f0 (patch) | |
tree | e3c1831de6b9f9d600a875a006c7d39d6a9dc9be /arch/ia64 | |
parent | 3195e6378704aea0ce5a467e0d4fdf4bfe61fe64 (diff) |
Simplify semaphore implementation
By removing the negative values of 'count' and relying on the wait_list to
indicate whether we have any waiters, we can simplify the implementation
by removing the protection against an unlikely race condition. Thanks to
David Howells for his suggestions.
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Diffstat (limited to 'arch/ia64')
0 files changed, 0 insertions, 0 deletions