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

Imre Vadasz ivadasz at crater.dragonflybsd.org
Tue Nov 18 09:55:07 PST 2014


commit 63c3939fbc7902238cdf3f1081aa63fc81ee71f1
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/63c3939fbc7902238cdf3f1081aa63fc81ee71f1


-- 
DragonFly BSD source repository



More information about the Commits mailing list