summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2020-12-06 21:42:25 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2020-12-06 21:42:25 +0000
commitb88f64907ee262e98eac33ab9dbeb6d018f9b537 (patch)
tree81cf6445ef1fd511b635e38141226d3c8eca4d32 /sys/arch/amd64
parent4d2c846da0f5e3b3adef474d5717c10f8e7a1de8 (diff)
Implement acpi_intr_disestablish() for amd64.
ok mpi@
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/acpi_machdep.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/acpi_machdep.c b/sys/arch/amd64/amd64/acpi_machdep.c
index b056bf9eab6..f97523bb5b1 100644
--- a/sys/arch/amd64/amd64/acpi_machdep.c
+++ b/sys/arch/amd64/amd64/acpi_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi_machdep.c,v 1.92 2020/07/21 03:48:04 deraadt Exp $ */
+/* $OpenBSD: acpi_machdep.c,v 1.93 2020/12/06 21:42:24 kettenis Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
@@ -201,6 +201,12 @@ acpi_intr_establish(int irq, int flags, int level,
#endif
}
+void
+acpi_intr_disestablish(void *cookie)
+{
+ intr_disestablish(cookie);
+}
+
u_int8_t *
acpi_scan(struct acpi_mem_map *handle, paddr_t pa, size_t len)
{