aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/i386/simplelock.s
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/i386/simplelock.s')
-rw-r--r--sys/i386/i386/simplelock.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/i386/i386/simplelock.s b/sys/i386/i386/simplelock.s
index 9abc3b74660a..378cf85389e9 100644
--- a/sys/i386/i386/simplelock.s
+++ b/sys/i386/i386/simplelock.s
@@ -186,8 +186,11 @@ ENTRY(s_unlock)
movl $0, (%eax)
ret
+#if 0
/*
+ * XXX CRUFTY SS_LOCK IMPLEMENTATION REMOVED XXX
+ *
* These versions of simple_lock block interrupts,
* making it suitable for regions accessed by both top and bottom levels.
* This is done by saving the current value of the cpu flags in a per-cpu
@@ -279,6 +282,8 @@ ENTRY(ss_unlock)
ss_unlock2:
ret
+#endif
+
/*
* These versions of simple_lock does not contain calls to profiling code.
* Thus they can be called from the profiling code.