Catch up to -current.
parent
b3a20ce219
commit
9f21f02217
|
@ -1037,7 +1037,11 @@ int DRM(ioctl)( DRM_IOCTL_ARGS )
|
||||||
|
|
||||||
case FIOGETOWN:
|
case FIOGETOWN:
|
||||||
atomic_dec(&dev->ioctl_count);
|
atomic_dec(&dev->ioctl_count);
|
||||||
|
#if (__FreeBSD_version >= 500000)
|
||||||
|
*(int *) data = fgetown(&dev->buf_sigio);
|
||||||
|
#else
|
||||||
*(int *) data = fgetown(dev->buf_sigio);
|
*(int *) data = fgetown(dev->buf_sigio);
|
||||||
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif /* __FreeBSD__ */
|
#endif /* __FreeBSD__ */
|
||||||
|
|
|
@ -1037,7 +1037,11 @@ int DRM(ioctl)( DRM_IOCTL_ARGS )
|
||||||
|
|
||||||
case FIOGETOWN:
|
case FIOGETOWN:
|
||||||
atomic_dec(&dev->ioctl_count);
|
atomic_dec(&dev->ioctl_count);
|
||||||
|
#if (__FreeBSD_version >= 500000)
|
||||||
|
*(int *) data = fgetown(&dev->buf_sigio);
|
||||||
|
#else
|
||||||
*(int *) data = fgetown(dev->buf_sigio);
|
*(int *) data = fgetown(dev->buf_sigio);
|
||||||
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif /* __FreeBSD__ */
|
#endif /* __FreeBSD__ */
|
||||||
|
|
Loading…
Reference in New Issue