Module Name: src
Committed By: riastradh
Date: Sun Dec 19 01:54:28 UTC 2021
Modified Files:
src/sys/external/bsd/drm2/dist/include/drm: drm_auth.h
Log Message:
Use the netbsd-ish drm_waitqueue_t
Author: Maya Rashish <[email protected]>
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/sys/external/bsd/drm2/dist/include/drm/drm_auth.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/external/bsd/drm2/dist/include/drm/drm_auth.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/drm_auth.h:1.3 src/sys/external/bsd/drm2/dist/include/drm/drm_auth.h:1.4
--- src/sys/external/bsd/drm2/dist/include/drm/drm_auth.h:1.3 Sun Dec 19 01:01:42 2021
+++ src/sys/external/bsd/drm2/dist/include/drm/drm_auth.h Sun Dec 19 01:54:28 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_auth.h,v 1.3 2021/12/19 01:01:42 riastradh Exp $ */
+/* $NetBSD: drm_auth.h,v 1.4 2021/12/19 01:54:28 riastradh Exp $ */
#ifndef _DRM_AUTH_H_
#define _DRM_AUTH_H_
@@ -61,7 +61,11 @@ struct drm_master;
struct drm_lock_data {
struct drm_hw_lock *hw_lock;
struct drm_file *file_priv;
+#ifdef __NetBSD__
+ drm_waitqueue_t lock_queue; /**< Queue of blocked processes */
+#else
wait_queue_head_t lock_queue;
+#endif
unsigned long lock_time;
spinlock_t spinlock;
uint32_t kernel_waiters;