Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/include/drm Actually poll every tick a...
details: https://anonhg.NetBSD.org/src/rev/09220ce8146e
branches: trunk
changeset: 336417:09220ce8146e
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sat Feb 28 21:30:22 2015 +0000
description:
Actually poll every tick as advertised.
diffstat:
sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r 8bcb9d153dcc -r 09220ce8146e sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h
--- a/sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h Sat Feb 28 21:17:32 2015 +0000
+++ b/sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h Sat Feb 28 21:30:22 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_wait_netbsd.h,v 1.10 2015/02/28 21:17:32 riastradh Exp $ */
+/* $NetBSD: drm_wait_netbsd.h,v 1.11 2015/02/28 21:30:22 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -144,8 +144,7 @@
break; \
} \
/* XXX errno NetBSD->Linux */ \
- (RET) = -cv_timedwait_sig((Q), &(INTERLOCK)->sl_lock, \
- (_dswo_end - _dswo_now)); \
+ (RET) = -cv_timedwait_sig((Q), &(INTERLOCK)->sl_lock, 1); \
if (RET) { \
if ((RET) == -EWOULDBLOCK) \
(RET) = (CONDITION) ? 0 : -EBUSY; \
Home |
Main Index |
Thread Index |
Old Index