drm: Make wait_event_interruptible interruptible and fix its return value.
authorImre Vadasz <imre@vdsz.com>
Sat, 15 Nov 2014 15:59:06 +0000 (16:59 +0100)
committerImre Vadasz <imre@vdsz.com>
Tue, 18 Nov 2014 17:53:11 +0000 (18:53 +0100)
commit63c3939fbc7902238cdf3f1081aa63fc81ee71f1
tree95631c05cb8d6a243e8c08d66b2ff7a89c8afe33
parent532ce8e7e6922040de0b6c620d03d5b05db376e4
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.
sys/dev/drm/include/linux/wait.h
sys/dev/drm/radeon/radeon_gem.c