diff options
author | Matthew Wilcox <matthew@wil.cx> | 2008-03-08 02:55:58 (GMT) |
---|---|---|
committer | Matthew Wilcox <willy@linux.intel.com> | 2008-04-17 14:42:34 (GMT) |
commit | 64ac24e738823161693bf791f87adc802cf529ff (patch) | |
tree | 19c0b0cf314d4394ca580c05b86cdf874ce0a167 /include/asm-um/semaphore.h | |
parent | e48b3deee475134585eed03e7afebe4bf9e0dba9 (diff) | |
download | linux-fsl-qoriq-64ac24e738823161693bf791f87adc802cf529ff.tar.xz |
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>
Diffstat (limited to 'include/asm-um/semaphore.h')
-rw-r--r-- | include/asm-um/semaphore.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/asm-um/semaphore.h b/include/asm-um/semaphore.h index ff13c34..d9b2034 100644 --- a/include/asm-um/semaphore.h +++ b/include/asm-um/semaphore.h @@ -1,6 +1 @@ -#ifndef __UM_SEMAPHORE_H -#define __UM_SEMAPHORE_H - -#include "asm/arch/semaphore.h" - -#endif +#include <linux/semaphore.h> |