Source-Changes-HG archive

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

[src/jmcneill-audiomp3]: src/sys/dev/ic IPL_SCHED is enough.



details:   https://anonhg.NetBSD.org/src/rev/8c2e20058592
branches:  jmcneill-audiomp3
changeset: 771341:8c2e20058592
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Nov 20 12:04:14 2011 +0000

description:
IPL_SCHED is enough.

diffstat:

 sys/dev/ic/am7930.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 8dee6bb7f2f3 -r 8c2e20058592 sys/dev/ic/am7930.c
--- a/sys/dev/ic/am7930.c       Sun Nov 20 11:41:53 2011 +0000
+++ b/sys/dev/ic/am7930.c       Sun Nov 20 12:04:14 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: am7930.c,v 1.50.56.1 2011/11/20 10:56:18 mrg Exp $     */
+/*     $NetBSD: am7930.c,v 1.50.56.2 2011/11/20 12:04:14 mrg Exp $     */
 
 /*
  * Copyright (c) 1995 Rolf Grossmann
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: am7930.c,v 1.50.56.1 2011/11/20 10:56:18 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: am7930.c,v 1.50.56.2 2011/11/20 12:04:14 mrg Exp $");
 
 #include "audio.h"
 #if NAUDIO > 0
@@ -191,8 +191,7 @@
        }
 
        mutex_init(&sc->sc_lock, MUTEX_DEFAULT, IPL_NONE);
-       /* We used to take splaudio() in commit_settings */
-       mutex_init(&sc->sc_intr_lock, MUTEX_DEFAULT, IPL_VM);
+       mutex_init(&sc->sc_intr_lock, MUTEX_DEFAULT, IPL_SCHED);
 }
 
 int



Home | Main Index | Thread Index | Old Index