diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-11-16 16:16:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-11-16 16:16:08 +0000 |
commit | 32922227664108ea3bdf3840415d46ecd47b6c33 (patch) | |
tree | 0fc1ed540a8604f9a09281922b73205f9029769c /sys/dev/acpi/acpimadt.c | |
parent | 131b5909bb58cef481f3bb87af3f5dc30421be92 (diff) |
fix the bus_space #define nightmare, so that amd64 and i386 are much more
uniform. as a result shared code like acpi needs less #ifdef's
ok marco kettenis
Diffstat (limited to 'sys/dev/acpi/acpimadt.c')
-rw-r--r-- | sys/dev/acpi/acpimadt.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/acpi/acpimadt.c b/sys/dev/acpi/acpimadt.c index 9a4ac7a3b61..fdfd2638756 100644 --- a/sys/dev/acpi/acpimadt.c +++ b/sys/dev/acpi/acpimadt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpimadt.c,v 1.12 2007/11/15 22:16:31 mikeb Exp $ */ +/* $OpenBSD: acpimadt.c,v 1.13 2007/11/16 16:16:04 deraadt Exp $ */ /* * Copyright (c) 2006 Mark Kettenis <kettenis@openbsd.org> * @@ -38,10 +38,6 @@ #include "ioapic.h" -#ifdef __amd64__ /* XXX */ -#define mp_nintrs mp_nintr -#endif - u_int8_t acpi_lapic_flags[LAPIC_MAP_SIZE]; int acpimadt_match(struct device *, void *, void *); |