an spl6 that almost got away...
authorMike Karels <karels@ucbvax.Berkeley.EDU>
Thu, 15 May 1986 06:35:30 +0000 (22:35 -0800)
committerMike Karels <karels@ucbvax.Berkeley.EDU>
Thu, 15 May 1986 06:35:30 +0000 (22:35 -0800)
SCCS-vsn: sys/sys/buf.h 6.8

usr/src/sys/sys/buf.h

index 44b8c09..45e5f20 100644 (file)
@@ -3,7 +3,7 @@
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
- *     @(#)buf.h       6.7 (Berkeley) %G%
+ *     @(#)buf.h       6.8 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -172,7 +172,7 @@ unsigned minphys();
  * mark it as being use (B_BUSY) by a device.
  */
 #define        notavail(bp) { \
  * mark it as being use (B_BUSY) by a device.
  */
 #define        notavail(bp) { \
-       int x = spl6(); \
+       int x = splbio(); \
        bremfree(bp); \
        (bp)->b_flags |= B_BUSY; \
        splx(x); \
        bremfree(bp); \
        (bp)->b_flags |= B_BUSY; \
        splx(x); \