Module Name: src
Committed By: riastradh
Date: Fri Oct 7 18:55:51 UTC 2022
Modified Files:
src/sys/dev: cons.c
Log Message:
Revert "console(4), constty(4): Rip off the kernel lock, take two."
Something is still busted and this is interfering with the releng
amd64 testbed.
To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/sys/dev/cons.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/cons.c
diff -u src/sys/dev/cons.c:1.88 src/sys/dev/cons.c:1.89
--- src/sys/dev/cons.c:1.88 Thu Oct 6 19:59:35 2022
+++ src/sys/dev/cons.c Fri Oct 7 18:55:50 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: cons.c,v 1.88 2022/10/06 19:59:35 riastradh Exp $ */
+/* $NetBSD: cons.c,v 1.89 2022/10/07 18:55:50 riastradh Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cons.c,v 1.88 2022/10/06 19:59:35 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cons.c,v 1.89 2022/10/07 18:55:50 riastradh Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -84,7 +84,7 @@ const struct cdevsw cons_cdevsw = {
.d_mmap = nommap,
.d_kqfilter = cnkqfilter,
.d_discard = nodiscard,
- .d_flag = D_TTY|D_MPSAFE,
+ .d_flag = D_TTY
};
static struct kmutex cn_lock;