-/* $OpenBSD: drm_linux.c,v 1.83 2021/08/07 06:23:34 jsg Exp $ */
+/* $OpenBSD: drm_linux.c,v 1.84 2021/08/11 16:14:00 sthen Exp $ */
/*
* Copyright (c) 2013 Jonathan Gray <jsg@openbsd.org>
* Copyright (c) 2015, 2016 Mark Kettenis <kettenis@openbsd.org>
return false;
if (work->tq)
- taskq_del_barrier(work->tq, &work->task);
+ taskq_barrier(work->tq);
return false;
}
}
if (dwork->tq)
- taskq_del_barrier(dwork->tq, &dwork->work.task);
+ taskq_barrier(dwork->tq);
return ret;
}
return;
if (work->tq)
- taskq_del_barrier(work->tq, &work->task);
+ taskq_barrier(work->tq);
}
void
-/* $OpenBSD: irq_work.h,v 1.4 2021/08/07 06:23:34 jsg Exp $ */
+/* $OpenBSD: irq_work.h,v 1.5 2021/08/11 16:14:00 sthen Exp $ */
/*
* Copyright (c) 2015 Mark Kettenis
*
static inline void
irq_work_sync(struct irq_work *work)
{
- taskq_del_barrier(work->tq, &work->task);
+ taskq_barrier(work->tq);
}
#endif