Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/jmcneill-audiomp3]: src/sys/dev/isa don't kpause with intr_lock held
details: https://anonhg.NetBSD.org/src/rev/8af9b8db95c6
branches: jmcneill-audiomp3
changeset: 771376:8af9b8db95c6
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Nov 20 19:26:05 2011 +0000
description:
don't kpause with intr_lock held
diffstat:
sys/dev/isa/sbdsp.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r e31d4526d719 -r 8af9b8db95c6 sys/dev/isa/sbdsp.c
--- a/sys/dev/isa/sbdsp.c Sun Nov 20 18:25:46 2011 +0000
+++ b/sys/dev/isa/sbdsp.c Sun Nov 20 19:26:05 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sbdsp.c,v 1.134.12.1 2011/11/19 21:49:39 jmcneill Exp $ */
+/* $NetBSD: sbdsp.c,v 1.134.12.2 2011/11/20 19:26:05 jmcneill Exp $ */
/*-
* Copyright (c) 1999, 2008 The NetBSD Foundation, Inc.
@@ -74,7 +74,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sbdsp.c,v 1.134.12.1 2011/11/19 21:49:39 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sbdsp.c,v 1.134.12.2 2011/11/20 19:26:05 jmcneill Exp $");
#include "midi.h"
#include "mpu.h"
@@ -1095,8 +1095,7 @@
void
sbdsp_pause(struct sbdsp_softc *sc)
{
-
- (void)kpause("sbpause", FALSE, hz/8, &sc->sc_lock);
+ delay(100000); /* 1/10th of a second */
}
/*
Home |
Main Index |
Thread Index |
Old Index