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/drm Replace wake_up by D...



details:   https://anonhg.NetBSD.org/src/rev/8824ed0d24eb
branches:  riastradh-drm2
changeset: 788083:8824ed0d24eb
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 24 02:09:07 2013 +0000

description:
Replace wake_up by DRM_WAKEUP_ONE in drm_context.c.

diffstat:

 sys/external/bsd/drm2/dist/drm/drm_context.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r 82d5892e4ce4 -r 8824ed0d24eb sys/external/bsd/drm2/dist/drm/drm_context.c
--- a/sys/external/bsd/drm2/dist/drm/drm_context.c      Wed Jul 24 02:08:48 2013 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_context.c      Wed Jul 24 02:09:07 2013 +0000
@@ -277,7 +277,11 @@
           when the kernel holds the lock, release
           that lock here. */
        clear_bit(0, &dev->context_flag);
+#ifdef __NetBSD__
+       DRM_WAKEUP_ONE(&dev->context_wait, &drm_global_mutex);
+#else
        wake_up(&dev->context_wait);
+#endif
 
        return 0;
 }



Home | Main Index | Thread Index | Old Index