From cb47887dc2598436c0742e2f78fc7bf35c6c91d6 Mon Sep 17 00:00:00 2001 From: augustss Date: Sun, 1 Apr 2001 15:00:29 +0000 Subject: [PATCH] Add two missing splx() (inside DIAGNOSTIC). From OpenBSD. --- sys/dev/usb/ohci.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c index e7011b5b32d3..275331d1947a 100644 --- a/sys/dev/usb/ohci.c +++ b/sys/dev/usb/ohci.c @@ -1,4 +1,4 @@ -/* $NetBSD: ohci.c,v 1.101 2001/02/20 15:20:32 minoura Exp $ */ +/* $NetBSD: ohci.c,v 1.102 2001/04/01 15:00:29 augustss Exp $ */ /* $FreeBSD: src/sys/dev/usb/ohci.c,v 1.22 1999/11/17 22:33:40 n_hibma Exp $ */ /* @@ -2063,6 +2063,7 @@ ohci_abort_xfer_end(void *v) p = xfer->hcpriv; #ifdef DIAGNOSTIC if (p == NULL) { + splx(s); printf("ohci_abort_xfer: hcpriv==0\n"); return; } @@ -3166,6 +3167,7 @@ ohci_device_isoc_abort(usbd_xfer_handle xfer) sitd = xfer->hcpriv; #ifdef DIAGNOSTIC if (sitd == NULL) { + splx(s); printf("ohci_device_isoc_abort: hcpriv==0\n"); return; }