Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb since umidi and sequencer are mpsafe, mark umidi...
details: https://anonhg.NetBSD.org/src/rev/d8941410f055
branches: trunk
changeset: 784238:d8941410f055
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Tue Jan 22 21:29:53 2013 +0000
description:
since umidi and sequencer are mpsafe, mark umidi softint with SOFTINT_MPSAFE
diffstat:
sys/dev/usb/umidi.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 9cb75469c2da -r d8941410f055 sys/dev/usb/umidi.c
--- a/sys/dev/usb/umidi.c Tue Jan 22 21:20:26 2013 +0000
+++ b/sys/dev/usb/umidi.c Tue Jan 22 21:29:53 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: umidi.c,v 1.64 2013/01/22 21:13:39 jmcneill Exp $ */
+/* $NetBSD: umidi.c,v 1.65 2013/01/22 21:29:53 jmcneill Exp $ */
/*
* Copyright (c) 2001, 2012 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umidi.c,v 1.64 2013/01/22 21:13:39 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umidi.c,v 1.65 2013/01/22 21:29:53 jmcneill Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -516,7 +516,7 @@
err = usbd_open_pipe(sc->sc_iface, ep->addr, USBD_MPSAFE, &ep->pipe);
if (err)
usbd_free_xfer(ep->xfer);
- ep->solicit_cookie = softint_establish(SOFTINT_CLOCK, out_solicit, ep);
+ ep->solicit_cookie = softint_establish(SOFTINT_CLOCK | SOFTINT_MPSAFE, out_solicit, ep);
quit:
return err;
}
Home |
Main Index |
Thread Index |
Old Index