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>
5 lines
140 B
C
5 lines
140 B
C
#include "linux/module.h"
|
|
#include "asm/string.h"
|
|
|
|
/*XXX: we need them because they would be exported by x86_64 */
|
|
EXPORT_SYMBOL(__memcpy);
|