summaryrefslogtreecommitdiffstats
path: root/arch/x86/lib/thunk_64.S
diff options
context:
space:
mode:
authorMatthew Wilcox2008-03-08 03:55:58 +0100
committerMatthew Wilcox2008-04-17 16:42:34 +0200
commit64ac24e738823161693bf791f87adc802cf529ff (patch)
tree19c0b0cf314d4394ca580c05b86cdf874ce0a167 /arch/x86/lib/thunk_64.S
parentAdd semaphore.h to kernel_lock.c (diff)
downloadkernel-qcow2-linux-64ac24e738823161693bf791f87adc802cf529ff.tar.gz
kernel-qcow2-linux-64ac24e738823161693bf791f87adc802cf529ff.tar.xz
kernel-qcow2-linux-64ac24e738823161693bf791f87adc802cf529ff.zip
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 'arch/x86/lib/thunk_64.S')
-rw-r--r--arch/x86/lib/thunk_64.S5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/lib/thunk_64.S b/arch/x86/lib/thunk_64.S
index 8b92d428ab02..e009251d4e9f 100644
--- a/arch/x86/lib/thunk_64.S
+++ b/arch/x86/lib/thunk_64.S
@@ -41,11 +41,6 @@
thunk rwsem_downgrade_thunk,rwsem_downgrade_wake
#endif
- thunk __down_failed,__down
- thunk_retrax __down_failed_interruptible,__down_interruptible
- thunk_retrax __down_failed_trylock,__down_trylock
- thunk __up_wakeup,__up
-
#ifdef CONFIG_TRACE_IRQFLAGS
thunk trace_hardirqs_on_thunk,trace_hardirqs_on
thunk trace_hardirqs_off_thunk,trace_hardirqs_off