Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/sys/external/bsd/drm2/include/drm Pull up following revis...
details: https://anonhg.NetBSD.org/src/rev/9520e5f7c2ce
branches: netbsd-7
changeset: 798355:9520e5f7c2ce
user: snj <snj%NetBSD.org@localhost>
date: Sun Sep 21 18:00:33 2014 +0000
description:
Pull up following revision(s) (requested by riastradh in ticket #98):
sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h: revision 1.5
Return 0, not uninitialized, if the condition is already true.
diffstat:
sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r cd35a1d2c501 -r 9520e5f7c2ce sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h
--- a/sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h Sun Sep 21 17:55:03 2014 +0000
+++ b/sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h Sun Sep 21 18:00:33 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_wait_netbsd.h,v 1.4 2014/07/16 20:59:58 riastradh Exp $ */
+/* $NetBSD: drm_wait_netbsd.h,v 1.4.2.1 2014/09/21 18:00:33 snj Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -177,6 +177,7 @@
KASSERT(!cpu_intr_p()); \
KASSERT(!cpu_softintr_p()); \
KASSERT(!cold); \
+ (RET) = 0; \
while (!(CONDITION)) { \
/* XXX errno NetBSD->Linux */ \
(RET) = -WAIT((Q), &(INTERLOCK)->sl_lock); \
Home |
Main Index |
Thread Index |
Old Index