mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 20:56:23 +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>
1 line
29 B
C
1 line
29 B
C
#include <linux/semaphore.h>
|