mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 21:50:20 +01:00
Fix build on NetBSD.
This commit is contained in:
parent
cfa778af9c
commit
b487f30ea5
2 changed files with 2 additions and 2 deletions
|
|
@ -991,7 +991,7 @@ int DRM(close)(dev_t kdev, int flags, int fmt, DRM_STRUCTPROC *p)
|
|||
#if 0
|
||||
atomic_inc( &dev->total_sleeps );
|
||||
#endif
|
||||
retcode = tsleep(&dev->lock.lock_queue,
|
||||
retcode = tsleep((void *)&dev->lock.lock_queue,
|
||||
PZERO|PCATCH,
|
||||
"drmlk2",
|
||||
0);
|
||||
|
|
|
|||
|
|
@ -991,7 +991,7 @@ int DRM(close)(dev_t kdev, int flags, int fmt, DRM_STRUCTPROC *p)
|
|||
#if 0
|
||||
atomic_inc( &dev->total_sleeps );
|
||||
#endif
|
||||
retcode = tsleep(&dev->lock.lock_queue,
|
||||
retcode = tsleep((void *)&dev->lock.lock_queue,
|
||||
PZERO|PCATCH,
|
||||
"drmlk2",
|
||||
0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue