aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/acpica/acpi_ged.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/acpica/acpi_ged.c')
-rw-r--r--sys/dev/acpica/acpi_ged.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpi_ged.c b/sys/dev/acpica/acpi_ged.c
index 23e125f277c5..caf911758ed2 100644
--- a/sys/dev/acpica/acpi_ged.c
+++ b/sys/dev/acpica/acpi_ged.c
@@ -244,8 +244,9 @@ acpi_ged_attach(device_t dev)
}
if (bus_setup_intr(dev, sc->evts[i].r,
- INTR_TYPE_MISC | INTR_MPSAFE, NULL, acpi_ged_intr,
- &sc->evts[i], &sc->evts[i].cookie) != 0) {
+ INTR_TYPE_MISC | INTR_MPSAFE | INTR_SLEEPABLE |
+ INTR_EXCL, NULL, acpi_ged_intr, &sc->evts[i],
+ &sc->evts[i].cookie) != 0) {
device_printf(dev, "Failed to setup intr %d\n", i);
}
}