diff options
Diffstat (limited to 'sys/arch/sh/include/intr.h')
-rw-r--r-- | sys/arch/sh/include/intr.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/sh/include/intr.h b/sys/arch/sh/include/intr.h index ce274d1245f..886494c6dd7 100644 --- a/sys/arch/sh/include/intr.h +++ b/sys/arch/sh/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.6 2009/03/25 21:40:56 miod Exp $ */ +/* $OpenBSD: intr.h,v 1.7 2009/04/19 18:54:06 oga Exp $ */ /* $NetBSD: intr.h,v 1.22 2006/01/24 23:51:42 uwe Exp $ */ /*- @@ -35,6 +35,7 @@ #include <sys/device.h> #include <sys/evcount.h> #include <sys/lock.h> +#include <sys/mutex.h> #include <sys/queue.h> #include <sh/psl.h> @@ -101,8 +102,10 @@ struct sh_soft_intrhand { }; struct sh_soft_intr { - TAILQ_HEAD(, sh_soft_intrhand) softintr_q; - unsigned long softintr_ipl; + TAILQ_HEAD(, sh_soft_intrhand) + softintr_q; + unsigned long softintr_ipl; + struct mutex softintr_lock; }; void softintr_disestablish(void *); |