Module Name:    src
Committed By:   riastradh
Date:           Mon Jul 17 12:54:54 UTC 2023

Modified Files:
        src/sys/sys: syncobj.h

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/sys/syncobj.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/syncobj.h
diff -u src/sys/sys/syncobj.h:1.14 src/sys/sys/syncobj.h:1.15
--- src/sys/sys/syncobj.h:1.14	Mon Jul 17 12:54:29 2023
+++ src/sys/sys/syncobj.h	Mon Jul 17 12:54:53 2023
@@ -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.

Reply via email to