mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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 <[email protected]> Acked-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
e48b3deee4
commit
64ac24e738
113 changed files with 314 additions and 7679 deletions
|
|
@ -1,6 +1 @@
|
|||
#ifndef __UM_SEMAPHORE_H
|
||||
#define __UM_SEMAPHORE_H
|
||||
|
||||
#include "asm/arch/semaphore.h"
|
||||
|
||||
#endif
|
||||
#include <linux/semaphore.h>
|
||||
|
|
|
|||
Loading…
Reference in a new issue