diff options
author | dumbbell <dumbbell@FreeBSD.org> | 2013-12-22 21:18:21 +0000 |
---|---|---|
committer | dumbbell <dumbbell@FreeBSD.org> | 2013-12-22 21:18:21 +0000 |
commit | 088efa66e670049c8aaed85d41c6051704d7d9ad (patch) | |
tree | 518d2fe16a613579e18b8745b9bb0b20528494b1 /sys/dev/tdfx | |
parent | d96320dc31e53fc9e70a8d6fcfa655d6bf2b5a1d (diff) | |
download | FreeBSD-src-088efa66e670049c8aaed85d41c6051704d7d9ad.zip FreeBSD-src-088efa66e670049c8aaed85d41c6051704d7d9ad.tar.gz |
MFC r259684:
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)
Diffstat (limited to 'sys/dev/tdfx')
0 files changed, 0 insertions, 0 deletions