From: Matthew Wilcox Date: Fri, 14 Mar 2008 18:35:22 +0000 (-0400) Subject: Simplify semaphore implementation X-Git-Tag: v2.6.26-rc1~1155^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b17170b2fac96705db3188f093f89e8e838418e4;p=pandora-kernel.git 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 --- Reading git-diff-tree failed