(__spin_lock_solid): Use __swtch_pri instead of swtch.
authormib <mib>
Tue, 20 Dec 1994 18:38:21 +0000 (18:38 +0000)
committermib <mib>
Tue, 20 Dec 1994 18:38:21 +0000 (18:38 +0000)
mach/spin-solid.c

index b39d398..18ee3a2 100644 (file)
@@ -23,5 +23,5 @@ __spin_lock_solid (spin_lock_t *lock)
 {
   while (__spin_lock_locked (lock) || ! __spin_try_lock (lock))
     /* Yield to another thread (system call).  */
-    __swtch ();
+    __swtch_pri ();
 }