summaryrefslogtreecommitdiff
path: root/include/linux/serial_8250.h
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2008-03-14 21:35:22 +0300
committerMatthew Wilcox <willy@linux.intel.com>2008-04-17 18:42:54 +0400
commitb17170b2fac96705db3188f093f89e8e838418e4 (patch)
tree3264d8a297cff20338b606559274c36fbf663f04 /include/linux/serial_8250.h
parentf1241c87a16c4fe9f4f51d6ed3589f031c505e8d (diff)
downloadlinux-b17170b2fac96705db3188f093f89e8e838418e4.tar.xz
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 'include/linux/serial_8250.h')
0 files changed, 0 insertions, 0 deletions