diff options
| author | John Dyson <dyson@FreeBSD.org> | 1997-08-09 10:13:32 +0000 |
|---|---|---|
| committer | John Dyson <dyson@FreeBSD.org> | 1997-08-09 10:13:32 +0000 |
| commit | c0ecffb96bb4f37878fe38d2bc80d6e664c21a7f (patch) | |
| tree | 9664dcdc90407a374e6358fa9329e8b2a4aa139e /sys/kern/kern_physio.c | |
| parent | ae4efed2686bdb13a2bb876a0bd6c18b0b75128e (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_physio.c')
| -rw-r--r-- | sys/kern/kern_physio.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kern/kern_physio.c b/sys/kern/kern_physio.c index 42d1d21a1104..bfa7c0111ca8 100644 --- a/sys/kern/kern_physio.c +++ b/sys/kern/kern_physio.c @@ -16,7 +16,7 @@ * 4. Modifications may be freely made to this file if the above conditions * are met. * - * $Id$ + * $Id: kern_physio.c,v 1.19 1997/02/22 09:39:08 peter Exp $ */ #include <sys/param.h> @@ -112,7 +112,11 @@ physio(strategy, bp, dev, rw, minp, uio) spl = splbio(); while ((bp->b_flags & B_DONE) == 0) +#if defined(NO_SCHEDULE_MODS) tsleep((caddr_t)bp, PRIBIO, "physstr", 0); +#else + tsleep((caddr_t)bp, curproc->p_usrpri, "physstr", 0); +#endif splx(spl); /* release mapping into kernel space */ |
