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/include/drm Define DRM_HZ to ...
details: https://anonhg.NetBSD.org/src/rev/1a5e43847a8a
branches: riastradh-drm2
changeset: 788148:1a5e43847a8a
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 02:27:09 2013 +0000
description:
Define DRM_HZ to be hz (super-kludgey!) in drm_wait_netbsd.h.
diffstat:
sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r d37013d88896 -r 1a5e43847a8a sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h
--- a/sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h Wed Jul 24 02:26:53 2013 +0000
+++ b/sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h Wed Jul 24 02:27:09 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_wait_netbsd.h,v 1.1.2.3 2013/07/24 02:20:38 riastradh Exp $ */
+/* $NetBSD: drm_wait_netbsd.h,v 1.1.2.4 2013/07/24 02:27:09 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -32,7 +32,9 @@
#ifndef _DRM_DRM_WAIT_NETBSD_H_
#define _DRM_DRM_WAIT_NETBSD_H_
+#include <sys/param.h>
#include <sys/condvar.h>
+#include <sys/kernel.h>
#include <sys/mutex.h>
#include <sys/systm.h>
@@ -41,6 +43,8 @@
typedef kcondvar_t drm_waitqueue_t;
+#define DRM_HZ hz /* XXX Hurk... */
+
static inline void
DRM_INIT_WAITQUEUE(drm_waitqueue_t *q, const char *name)
{
Home |
Main Index |
Thread Index |
Old Index