splz still ?

Terry Tree terry.tree at gmail.com
Mon May 15 06:57:35 PDT 2006


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"));





More information about the Kernel mailing list