git: DragonFly_RELEASE_4_0 drm: Make wait_event_interruptible interruptible and fix its return value.

Francois Tigeot ftigeot at crater.dragonflybsd.org
Tue Nov 18 15:07:23 PST 2014


commit a464d9e7d08c7b9352c84bc4860f62cab180fd8a
Author: Imre Vadasz <imre at vdsz.com>
Date:   Sat Nov 15 16:59:06 2014 +0100

    drm: Make wait_event_interruptible interruptible and fix its return value.
    
    * __wait_event_common now works like wait_event_interruptible_timeout does
      in Linux.
    
    * wait_event_interruptible uses different return values than the other
      wait_event variants.
    
    * translate -ERESTARTSYS to -EINTR in two obvious places in radeon_gem.c,
      before returning from an ioctl handler.

Summary of changes:
 sys/dev/drm/include/linux/wait.h | 26 ++++++++++++++++++++++----
 sys/dev/drm/radeon/radeon_gem.c  |  4 ++++
 2 files changed, 26 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a464d9e7d08c7b9352c84bc4860f62cab180fd8a


-- 
DragonFly BSD source repository



More information about the Commits mailing list