Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic revert previous as suggested by mrg IPL_SCHED is ...



details:   https://anonhg.NetBSD.org/src/rev/1eeb8e775540
branches:  trunk
changeset: 999481:1eeb8e775540
user:      tnn <tnn%NetBSD.org@localhost>
date:      Tue Jun 04 16:36:18 2019 +0000

description:
revert previous as suggested by mrg IPL_SCHED is correct here

diffstat:

 sys/dev/ic/ssdfb.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c23dd4cc491b -r 1eeb8e775540 sys/dev/ic/ssdfb.c
--- a/sys/dev/ic/ssdfb.c        Tue Jun 04 16:30:19 2019 +0000
+++ b/sys/dev/ic/ssdfb.c        Tue Jun 04 16:36:18 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ssdfb.c,v 1.4 2019/05/30 07:37:17 tnn Exp $ */
+/* $NetBSD: ssdfb.c,v 1.5 2019/06/04 16:36:18 tnn Exp $ */
 
 /*
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ssdfb.c,v 1.4 2019/05/30 07:37:17 tnn Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ssdfb.c,v 1.5 2019/06/04 16:36:18 tnn Exp $");
 
 #include "opt_ddb.h"
 
@@ -301,7 +301,7 @@
        if (sc->sc_is_console)
                ssdfb_set_usepoll(sc, true);
 
-       mutex_init(&sc->sc_cond_mtx, MUTEX_DEFAULT, IPL_VM);
+       mutex_init(&sc->sc_cond_mtx, MUTEX_DEFAULT, IPL_SCHED);
        cv_init(&sc->sc_cond, "ssdfb");
        error = kthread_create(PRI_SOFTCLOCK, KTHREAD_MPSAFE | KTHREAD_MUSTJOIN,
            NULL, ssdfb_thread, sc, &sc->sc_thread, "%s",



Home | Main Index | Thread Index | Old Index