Source-Changes-HG archive

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

[src/trunk]: src/sys/dev Revert "console(4), constty(4): Rip off the kernel l...



details:   https://anonhg.NetBSD.org/src/rev/78e808c0eb1b
branches:  trunk
changeset: 371767:78e808c0eb1b
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Oct 07 18:55:50 2022 +0000

description:
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.

diffstat:

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

diffs (27 lines):

diff -r bb6631401c44 -r 78e808c0eb1b sys/dev/cons.c
--- a/sys/dev/cons.c    Fri Oct 07 02:57:35 2022 +0000
+++ b/sys/dev/cons.c    Fri Oct 07 18:55:50 2022 +0000
@@ -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 @@
        .d_mmap = nommap,
        .d_kqfilter = cnkqfilter,
        .d_discard = nodiscard,
-       .d_flag = D_TTY|D_MPSAFE,
+       .d_flag = D_TTY
 };
 
 static struct kmutex cn_lock;



Home | Main Index | Thread Index | Old Index