Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic com(4): Note timecounter_lock in lock order comme...



details:   https://anonhg.NetBSD.org/src/rev/342f4a356fcb
branches:  trunk
changeset: 374220:342f4a356fcb
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Tue Apr 11 12:55:59 2023 +0000

description:
com(4): Note timecounter_lock in lock order comments.

diffstat:

 sys/dev/ic/com.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 700b7c3eb871 -r 342f4a356fcb sys/dev/ic/com.c
--- a/sys/dev/ic/com.c  Tue Apr 11 10:34:52 2023 +0000
+++ b/sys/dev/ic/com.c  Tue Apr 11 12:55:59 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: com.c,v 1.382 2022/12/09 00:35:58 knakahara Exp $ */
+/* $NetBSD: com.c,v 1.383 2023/04/11 12:55:59 riastradh Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999, 2004, 2008 The NetBSD Foundation, Inc.
@@ -67,10 +67,11 @@
  * Lock order:
  *     tty_lock (IPL_VM)
  *     -> sc->sc_lock (IPL_HIGH)
+ *     -> timecounter_lock (IPL_HIGH)
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.382 2022/12/09 00:35:58 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.383 2023/04/11 12:55:59 riastradh Exp $");
 
 #include "opt_com.h"
 #include "opt_ddb.h"



Home | Main Index | Thread Index | Old Index