mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 01:51:53 +00:00
64ac24e738
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>
2 lines
29 B
C
2 lines
29 B
C
#include <linux/semaphore.h>
|