Source-Changes-HG archive

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

[src/trunk]: src/sys/sys sys/syncobj.h: Expose this to _KMEMUSER for future u...



details:   https://anonhg.NetBSD.org/src/rev/d6cfad5765a0
branches:  trunk
changeset: 377555:d6cfad5765a0
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Jul 17 12:54:53 2023 +0000

description:
sys/syncobj.h: Expose this to _KMEMUSER for future use by crash(8).

This will allow crash(8) to get at the syncobj name.

diffstat:

 sys/sys/syncobj.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3aecf837b5e5 -r d6cfad5765a0 sys/sys/syncobj.h
--- a/sys/sys/syncobj.h Mon Jul 17 12:54:29 2023 +0000
+++ b/sys/sys/syncobj.h Mon Jul 17 12:54:53 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: syncobj.h,v 1.14 2023/07/17 12:54:29 riastradh Exp $   */
+/*     $NetBSD: syncobj.h,v 1.15 2023/07/17 12:54:53 riastradh Exp $   */
 
 /*-
  * Copyright (c) 2007, 2008, 2020 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@ struct lwp;
 
 typedef volatile const void *wchan_t;
 
-#if defined(_KERNEL)
+#if defined(_KERNEL) || defined(_KMEMUSER)
 
 /*
  * Synchronisation object operations set.



Home | Main Index | Thread Index | Old Index