path: root/lib/semaphore-sleepers.c
AgeCommit message (Collapse)AuthorLines
2008-04-17Generic semaphore implementationMatthew Wilcox-176/+0
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 <> Acked-by: Ingo Molnar <>
2008-02-08lib: remove fastcall from lib/*Harvey Harrison-4/+4
[ coding-style fixes] Signed-off-by: Harvey Harrison <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel-1/+0
Signed-off-by: Jörn Engel <> Signed-off-by: Adrian Bunk <>
2005-09-05[PATCH] unify x86/x86-64 semaphore codeBenjamin LaHaise-0/+177
This patch moves the common code in x86 and x86-64's semaphore.c into a single file in lib/semaphore-sleepers.c. The arch specific asm stubs are left in the arch tree (in semaphore.c for i386 and in the asm for x86-64). There should be no changes in code/functionality with this patch. Signed-off-by: Benjamin LaHaise <> Cc: Andi Kleen <> Signed-off-by: Jeff Dike <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>