diff options
| author | xtraeme <xtraeme@NetBSD.org> | 2007-02-19 00:56:05 +0000 |
|---|---|---|
| committer | xtraeme <xtraeme@NetBSD.org> | 2007-02-19 00:56:05 +0000 |
| commit | fe10a8bc01d0b5cfdda3b48c33fcefcf02dec295 (patch) | |
| tree | c44f13fdacdc4ddcc543ee7e71d6cd62e962ea12 /sys/dev/acpi | |
| parent | 9ece13126c2e23eeadf4932b027950977cc22803 (diff) | |
Forgot to initialize the mutex.
Diffstat (limited to 'sys/dev/acpi')
| -rw-r--r-- | sys/dev/acpi/acpica/OsdInterrupt.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpica/OsdInterrupt.c b/sys/dev/acpi/acpica/OsdInterrupt.c index ffcca94923c..cdde66699f2 100644 --- a/sys/dev/acpi/acpica/OsdInterrupt.c +++ b/sys/dev/acpi/acpica/OsdInterrupt.c @@ -1,4 +1,4 @@ -/* $NetBSD: OsdInterrupt.c,v 1.4 2007/02/19 00:41:48 xtraeme Exp $ */ +/* $NetBSD: OsdInterrupt.c,v 1.5 2007/02/19 00:56:05 xtraeme Exp $ */ /* * Copyright 2001 Wasabi Systems, Inc. @@ -42,7 +42,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: OsdInterrupt.c,v 1.4 2007/02/19 00:41:48 xtraeme Exp $"); +__KERNEL_RCSID(0, "$NetBSD: OsdInterrupt.c,v 1.5 2007/02/19 00:56:05 xtraeme Exp $"); #include <sys/param.h> #include <sys/malloc.h> @@ -88,6 +88,8 @@ AcpiOsInstallInterruptHandler(UINT32 InterruptNumber, struct acpi_interrupt_handler *aih; ACPI_STATUS rv; + mutex_init(&acpi_interrupt_list_mtx, MUTEX_DRIVER, IPL_NONE); + ACPI_FUNCTION_TRACE(__FUNCTION__); if (InterruptNumber > 255) |
