Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/dist/include/drm Tweak struct...
details: https://anonhg.NetBSD.org/src/rev/5973cf57e72a
branches: riastradh-drm2
changeset: 788170:5973cf57e72a
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 02:32:56 2013 +0000
description:
Tweak struct drm_lock_data.
diffstat:
sys/external/bsd/drm2/dist/include/drm/drmP.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diffs (22 lines):
diff -r e3c11efdcd3e -r 5973cf57e72a sys/external/bsd/drm2/dist/include/drm/drmP.h
--- a/sys/external/bsd/drm2/dist/include/drm/drmP.h Wed Jul 24 02:32:40 2013 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drmP.h Wed Jul 24 02:32:56 2013 +0000
@@ -541,11 +541,18 @@
#else
wait_queue_head_t lock_queue; /**< Queue of blocked processes */
#endif
+#ifndef __NetBSD__ /* XXX nothing seems to use this */
unsigned long lock_time; /**< Time of last lock in jiffies */
+#endif
spinlock_t spinlock;
+#ifdef __NetBSD__
+ unsigned int n_kernel_waiters;
+ drm_waitqueue_t kernel_lock_queue;
+#else
uint32_t kernel_waiters;
uint32_t user_waiters;
int idle_has_lock;
+#endif
};
/**
Home |
Main Index |
Thread Index |
Old Index