Module Name:    src
Committed By:   tnn
Date:           Tue Jun  4 16:36:18 UTC 2019

Modified Files:
        src/sys/dev/ic: ssdfb.c

Log Message:
revert previous as suggested by mrg IPL_SCHED is correct here


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/ic/ssdfb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/ic/ssdfb.c
diff -u src/sys/dev/ic/ssdfb.c:1.4 src/sys/dev/ic/ssdfb.c:1.5
--- src/sys/dev/ic/ssdfb.c:1.4	Thu May 30 07:37:17 2019
+++ src/sys/dev/ic/ssdfb.c	Tue Jun  4 16:36:18 2019
@@ -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 @@ ssdfb_attach(struct ssdfb_softc *sc, int
 	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",

Reply via email to