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/c35c5dffb29c
branches:  trunk
changeset: 371729:c35c5dffb29c
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Tue Oct 04 05:19:30 2022 +0000

description:
Revert "console(4), constty(4): Rip off the kernel lock."

Needs more testing.

diffstat:

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

diffs (27 lines):

diff -r cdd65790d844 -r c35c5dffb29c sys/dev/cons.c
--- a/sys/dev/cons.c    Tue Oct 04 01:46:18 2022 +0000
+++ b/sys/dev/cons.c    Tue Oct 04 05:19:30 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cons.c,v 1.84 2022/10/03 19:57:25 riastradh Exp $      */
+/*     $NetBSD: cons.c,v 1.85 2022/10/04 05:19:30 riastradh Exp $      */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cons.c,v 1.84 2022/10/03 19:57:25 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cons.c,v 1.85 2022/10/04 05:19:30 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