From fbf4456fd88f390d92b9bb241754e4e59974706f Mon Sep 17 00:00:00 2001 From: jhb Date: Thu, 21 Nov 2002 20:55:22 +0000 Subject: *sigh*. It seems that in the ACPICA code, Intel defines its own APIC_IO macro for use when parsing MADT tables, thus we always tried to set the interrupt model to APIC. This proved to be harmful on UP machines with IO APIC's (or for UP kernels on SMP machines) since the wrong interrupt routing information would be returned. Pointy hat to: jhb Approved by: re (rwatson) --- sys/i386/acpica/acpi_machdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/i386/acpica') diff --git a/sys/i386/acpica/acpi_machdep.c b/sys/i386/acpica/acpi_machdep.c index 324cc9d..fbf649b 100644 --- a/sys/i386/acpica/acpi_machdep.c +++ b/sys/i386/acpica/acpi_machdep.c @@ -340,7 +340,7 @@ acpi_machdep_init(device_t dev) acpi_install_wakeup_handler(sc); -#ifdef APIC_IO +#ifdef SMP acpi_SetIntrModel(ACPI_INTR_APIC); #endif return (0); -- cgit v1.1