This website requires JavaScript.
Explore
Help
Register
Sign In
renegade-project
/
linux-next
Watch
2
Star
0
Fork
0
You've already forked linux-next
mirror of
https://github.com/edk2-porting/linux-next.git
synced
2024-12-28 07:04:00 +08:00
Code
960b399169
linux-next
/
include
/
asm-sparc
/
semaphore.h
2 lines
29 B
C
Raw
Normal View
History
Unescape
Escape
Generic semaphore implementation 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>
2008-03-08 10:55:58 +08:00
#
include
<linux/semaphore.h>
Copy Permalink