This website requires JavaScript.
Explore
Help
Sign In
UbiquitousOS
/
OpenCloudOS-Kernel
mirror of
https://gitee.com/OpenCloudOS/OpenCloudOS-Kernel.git
Watch
11
Star
0
Fork
You've already forked OpenCloudOS-Kernel
0
Code
Issues
Projects
Releases
Wiki
Activity
f3d47a3a6a
Branches
Tags
No results found.
OpenCloudOS-Kernel
/
include
/
asm-s390
/
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>