Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/xen This should be mpsafe, register the event h...



details:   https://anonhg.NetBSD.org/src/rev/2a5ae6952297
branches:  trunk
changeset: 971894:2a5ae6952297
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Thu May 07 19:49:29 2020 +0000

description:
This should be mpsafe, register the event handler as such.

diffstat:

 sys/arch/xen/xen/xbdback_xenbus.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 034169396456 -r 2a5ae6952297 sys/arch/xen/xen/xbdback_xenbus.c
--- a/sys/arch/xen/xen/xbdback_xenbus.c Thu May 07 19:48:57 2020 +0000
+++ b/sys/arch/xen/xen/xbdback_xenbus.c Thu May 07 19:49:29 2020 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: xbdback_xenbus.c,v 1.95 2020/05/06 20:09:26 bouyer Exp $      */
+/*      $NetBSD: xbdback_xenbus.c,v 1.96 2020/05/07 19:49:29 bouyer Exp $      */
 
 /*
  * Copyright (c) 2006 Manuel Bouyer.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xbdback_xenbus.c,v 1.95 2020/05/06 20:09:26 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xbdback_xenbus.c,v 1.96 2020/05/07 19:49:29 bouyer Exp $");
 
 #include <sys/buf.h>
 #include <sys/condvar.h>
@@ -597,7 +597,7 @@
        xbdi->xbdi_evtchn = evop.u.bind_interdomain.local_port;
 
        xbdi->xbdi_ih = intr_establish_xname(-1, &xen_pic, xbdi->xbdi_evtchn,
-           IST_LEVEL, IPL_BIO, xbdback_evthandler, xbdi, false,
+           IST_LEVEL, IPL_BIO, xbdback_evthandler, xbdi, true,
            xbdi->xbdi_name);
        KASSERT(xbdi->xbdi_ih != NULL);
        aprint_verbose("xbd backend domain %d handle %#x (%d) "



Home | Main Index | Thread Index | Old Index