]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/commit
Merge from stable/10, r259742:
authordumbbell <dumbbell@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 22 Dec 2013 23:41:14 +0000 (23:41 +0000)
committerdumbbell <dumbbell@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 22 Dec 2013 23:41:14 +0000 (23:41 +0000)
commitd512eab59c058223ce3cce717992561d06799e9f
treea4277ee8f0be379cfd72e8a32878c2f85a841645
parent5a7a359d07b3dd3dd4151b51800905efb73571cf
Merge from stable/10, r259742:

drm/ttm, drm/radeon: Replace EINTR/ERESTART by ERESTARTSYS...

... for msleep/cv_*wait() return values, where wait_event*() is used
on Linux. ERESTARTSYS is the return code expected by callers when the
operation was interrupted.

For instance, this is the case of radeon_cs_ioctl() (radeon_cs.c): if
an error occurs, and the code isn't ERESTARTSYS (eg. EINTR), it logs an
error.

Note that ERESTARTSYS is defined as ERESTART, but this keeps callers'
code close to Linux.

Submitted by: avg@ (previous version)
Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/releng/10.0@259754 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/drm2/radeon/radeon_fence.c
sys/dev/drm2/radeon/radeon_sa.c
sys/dev/drm2/ttm/ttm_bo.c
sys/dev/drm2/ttm/ttm_lock.c