reorganization to move ufsmount ops to be vnode ops;
[unix-history] / usr / src / sys / kern / kern_synch.c
index 9932c09..dddeeb5 100644 (file)
@@ -1,9 +1,11 @@
-/*
- * Copyright (c) 1982, 1986, 1990, 1991 Regents of the University of California.
- * All rights reserved.  The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
+/*-
+ * Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
+ * Copyright (c) 1991 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * %sccs.include.redist.c%
  *
  *
- *     @(#)kern_synch.c        7.16 (Berkeley) %G%
+ *     @(#)kern_synch.c        7.18 (Berkeley) %G%
  */
 
 #include "param.h"
  */
 
 #include "param.h"
@@ -294,7 +296,6 @@ tsleep(chan, pri, wmesg, timo)
                }
        }
        p->p_stat = SSLEEP;
                }
        }
        p->p_stat = SSLEEP;
-       (void) spl0();
        p->p_stats->p_ru.ru_nvcsw++;
        swtch();
 resume:
        p->p_stats->p_ru.ru_nvcsw++;
        swtch();
 resume:
@@ -382,7 +383,6 @@ sleep(chan, pri)
                *qp->sq_tailp = p;
        *(qp->sq_tailp = &p->p_link) = 0;
        p->p_stat = SSLEEP;
                *qp->sq_tailp = p;
        *(qp->sq_tailp = &p->p_link) = 0;
        p->p_stat = SSLEEP;
-       (void) spl0();
        p->p_stats->p_ru.ru_nvcsw++;
        swtch();
        curpri = p->p_usrpri;
        p->p_stats->p_ru.ru_nvcsw++;
        swtch();
        curpri = p->p_usrpri;