summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-02-06 23:12:10 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-02-06 23:12:10 +0000
commitad29dfa736ebc9b77dd1656728ff76f5e37f923a (patch)
tree74f39bff869ac60cf196739b788a6ef5012206df
parent60bc3c716c0c3ef4e68b2ca3c92e9b21a8d12155 (diff)
fix a typo so this will compile on amd64.
-rw-r--r--sys/dev/acpi/acpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c
index 6f88988940a..144beab8c27 100644
--- a/sys/dev/acpi/acpi.c
+++ b/sys/dev/acpi/acpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi.c,v 1.25 2006/02/04 00:18:27 marco Exp $ */
+/* $OpenBSD: acpi.c,v 1.26 2006/02/06 23:12:09 brad Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
@@ -90,7 +90,7 @@ int acpi_s5, acpi_evindex, icount;
#define acpi_bus_space_unmap _bus_space_unmap
#elif defined(__amd64__)
#define acpi_bus_space_map _x86_memio_map
-#define acpi_bus_space_unmap _x86_memiu_unmap
+#define acpi_bus_space_unmap _x86_memio_unmap
#else
#error ACPI supported on i386/amd64 only
#endif