DragonFly BSD
DragonFly kernel List (threaded) for 2006-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

splz still ?


From: "Terry Tree" <terry.tree@xxxxxxxxx>
Date: Mon, 15 May 2006 09:51:14 -0400

Index: sys/bus/cam/cam_xpt.c
===================================================================
RCS file: /home/dcvs/src/sys/bus/cam/cam_xpt.c,v
retrieving revision 1.28
diff -u -u -r1.28 cam_xpt.c
--- sys/bus/cam/cam_xpt.c       22 Jan 2006 14:03:51 -0000      1.28
+++ sys/bus/cam/cam_xpt.c       15 May 2006 14:22:04 -0000
@@ -1199,7 +1199,7 @@
                       if (periph->unit_number == unit) {
                               break;
                       } else if (--splbreaknum == 0) {
-                               splz();
+                               crit_exit();
                               splbreaknum = 100;
                               if (cur_generation != xsoftc.generation)
                                      goto ptstartover;
@@ -6191,7 +6191,7 @@

               TAILQ_REMOVE(queue, ccb_h, sim_links.tqe);
               ccb_h->pinfo.index = CAM_UNQUEUED_INDEX;
-               splz();
+               crit_exit();

               CAM_DEBUG(ccb_h->path, CAM_DEBUG_TRACE,
                         ("camisr\n"));




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]