struct lwp -> lwp_t for consistency
This commit is contained in:
parent
c55eff3413
commit
d59302b0e4
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: subr_workqueue.c,v 1.27 2009/04/03 19:34:19 ad Exp $ */
|
/* $NetBSD: subr_workqueue.c,v 1.28 2009/08/16 10:59:25 yamt Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c)2002, 2005, 2006, 2007 YAMAMOTO Takashi,
|
* Copyright (c)2002, 2005, 2006, 2007 YAMAMOTO Takashi,
|
||||||
@ -27,7 +27,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: subr_workqueue.c,v 1.27 2009/04/03 19:34:19 ad Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: subr_workqueue.c,v 1.28 2009/08/16 10:59:25 yamt Exp $");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/cpu.h>
|
#include <sys/cpu.h>
|
||||||
@ -52,7 +52,7 @@ struct workqueue_queue {
|
|||||||
kmutex_t q_mutex;
|
kmutex_t q_mutex;
|
||||||
kcondvar_t q_cv;
|
kcondvar_t q_cv;
|
||||||
struct workqhead q_queue;
|
struct workqhead q_queue;
|
||||||
struct lwp *q_worker;
|
lwp_t *q_worker;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct workqueue {
|
struct workqueue {
|
||||||
|
Loading…
Reference in New Issue
Block a user