mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 23:00:11 +01:00
Fix build on -current: Provide M_WAITOK define.
This commit is contained in:
parent
f69ea13e21
commit
bceba29c23
2 changed files with 8 additions and 0 deletions
|
|
@ -192,6 +192,10 @@ while (!condition) { \
|
|||
|
||||
#define PAGE_ALIGN(addr) round_page(addr)
|
||||
|
||||
#ifndef M_WAITOK /* M_WAITOK (=0) name removed in -current */
|
||||
#define M_WAITOK 0
|
||||
#endif
|
||||
|
||||
#define malloctype DRM(M_DRM)
|
||||
/* The macros confliced in the MALLOC_DEFINE */
|
||||
MALLOC_DECLARE(malloctype);
|
||||
|
|
|
|||
|
|
@ -192,6 +192,10 @@ while (!condition) { \
|
|||
|
||||
#define PAGE_ALIGN(addr) round_page(addr)
|
||||
|
||||
#ifndef M_WAITOK /* M_WAITOK (=0) name removed in -current */
|
||||
#define M_WAITOK 0
|
||||
#endif
|
||||
|
||||
#define malloctype DRM(M_DRM)
|
||||
/* The macros confliced in the MALLOC_DEFINE */
|
||||
MALLOC_DECLARE(malloctype);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue