Module Name: src
Committed By: jdolecek
Date: Wed Aug 15 15:15:31 UTC 2018
Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
Log Message:
mark XXXSMP also wakeup() calls
To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sys/arch/xen/xen/xbd_xenbus.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/xen/xen/xbd_xenbus.c
diff -u src/sys/arch/xen/xen/xbd_xenbus.c:1.79 src/sys/arch/xen/xen/xbd_xenbus.c:1.80
--- src/sys/arch/xen/xen/xbd_xenbus.c:1.79 Sun Jun 24 20:28:58 2018
+++ src/sys/arch/xen/xen/xbd_xenbus.c Wed Aug 15 15:15:31 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: xbd_xenbus.c,v 1.79 2018/06/24 20:28:58 jdolecek Exp $ */
+/* $NetBSD: xbd_xenbus.c,v 1.80 2018/08/15 15:15:31 jdolecek Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xbd_xenbus.c,v 1.79 2018/06/24 20:28:58 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xbd_xenbus.c,v 1.80 2018/08/15 15:15:31 jdolecek Exp $");
#include "opt_xen.h"
@@ -338,7 +338,7 @@ xbd_xenbus_detach(device_t dev, int flag
}
if ((flags & DETACH_FORCE) == 0) {
/* xbd_xenbus_detach already in progress */
- wakeup(xbd_xenbus_detach);
+ wakeup(xbd_xenbus_detach); /* XXXSMP */
splx(s);
return EALREADY;
}
@@ -671,7 +671,7 @@ again:
if (rep->operation == BLKIF_OP_FLUSH_DISKCACHE) {
xbdreq->req_sync.s_error = rep->status;
xbdreq->req_sync.s_done = 1;
- wakeup(xbdreq);
+ wakeup(xbdreq); /* XXXSMP */
/* caller will free the req */
continue;
}
@@ -718,7 +718,7 @@ done:
goto again;
if (sc->sc_xbdreq_wait)
- wakeup(&sc->sc_xbdreq_wait);
+ wakeup(&sc->sc_xbdreq_wait); /* XXXSMP */
else
dk_start(&sc->sc_dksc, NULL);
return 1;