Index: drm_linux.h =================================================================== RCS file: /cvs/src/sys/dev/pci/drm/drm_linux.h,v retrieving revision 1.64 diff -u -p -r1.64 drm_linux.h --- drm_linux.h 27 Nov 2017 16:20:42 -0000 1.64 +++ drm_linux.h 29 Nov 2017 03:27:30 -0000 @@ -1180,7 +1180,7 @@ kobject_del(struct kobject *obj) #define DEFINE_WAIT(wait) wait_queue_head_t *wait = NULL -inline void +static inline void prepare_to_wait(wait_queue_head_t *wq, wait_queue_head_t **wait, int state) { if (*wait == NULL) { @@ -1189,14 +1189,14 @@ prepare_to_wait(wait_queue_head_t *wq, w } } -inline void +static inline void finish_wait(wait_queue_head_t *wq, wait_queue_head_t **wait) { if (*wait) mtx_leave(&wq->lock); } -inline long +static inline long schedule_timeout(long timeout, wait_queue_head_t **wait) { return -msleep(*wait, &(*wait)->lock, PZERO, "schto", timeout);