From 32922227664108ea3bdf3840415d46ecd47b6c33 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 16 Nov 2007 16:16:08 +0000 Subject: 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 --- sys/dev/acpi/acpimadt.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sys/dev/acpi/acpimadt.c') 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 * @@ -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 *); -- cgit v1.2.3