From b88f64907ee262e98eac33ab9dbeb6d018f9b537 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 6 Dec 2020 21:42:25 +0000 Subject: Implement acpi_intr_disestablish() for amd64. ok mpi@ --- sys/arch/amd64/amd64/acpi_machdep.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sys/arch/amd64') 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 * @@ -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) { -- cgit v1.2.3