mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-08 02:18:06 +02:00
Use the DRM_INIT_WAITQUEUE argument (needed on Linux) to avoid a warning.
This commit is contained in:
parent
55057660f0
commit
dddacd7a3a
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ MALLOC_DECLARE(M_DRM);
|
|||
#define wait_queue_head_t atomic_t
|
||||
#define DRM_WAKEUP(w) wakeup((void *)w)
|
||||
#define DRM_WAKEUP_INT(w) wakeup(w)
|
||||
#define DRM_INIT_WAITQUEUE(queue) do {} while (0)
|
||||
#define DRM_INIT_WAITQUEUE(queue) do {(void)(queue);} while (0)
|
||||
|
||||
#if defined(__FreeBSD__) && __FreeBSD_version < 502109
|
||||
#define bus_alloc_resource_any(dev, type, rid, flags) \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue