Generic semaphore implementation
authorMatthew Wilcox <matthew@wil.cx>
Sat, 8 Mar 2008 02:55:58 +0000 (21:55 -0500)
committerMatthew Wilcox <willy@linux.intel.com>
Thu, 17 Apr 2008 14:42:34 +0000 (10:42 -0400)
Semaphores are no longer performance-critical, so a generic C
implementation is better for maintainability, debuggability and
extensibility.  Thanks to Peter Zijlstra for fixing the lockdep
warning.  Thanks to Harvey Harrison for pointing out that the
unlikely() was unnecessary.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Acked-by: Ingo Molnar <mingo@elte.hu>

No differences found