Subject: Re: CVS commit: src/sys/arch/i386/acpi
To: None <source-changes@netbsd.org>
From: Geoff Wing <mason@primenet.com.au>
List: source-changes
Date: 08/02/2007 07:00:43
Jared D. McNeill <jmcneill@netbsd.org> typed:
: Module Name:	src
: Committed By:	jmcneill
: Date:		Wed Aug  1 22:41:59 UTC 2007
:
: Modified Files:
: 	src/sys/arch/i386/acpi: acpi_wakeup.c
: Log Message:
: Explicitly reinitialize lapic on resume; gets the clock ticking on the
: Lenovo T60 and probably many others.
:
: cvs rdiff -r1.36 -r1.37 src/sys/arch/i386/acpi/acpi_wakeup.c

--- sys/arch/i386/acpi/acpi_wakeup.c.org	2007-08-02 16:42:27.000000000 +1000
+++ sys/arch/i386/acpi/acpi_wakeup.c	2007-08-02 16:57:42.000000000 +1000
@@ -81,6 +81,10 @@
 #include "lapic.h"
 #include "ioapic.h"
 
+#if NLAPIC > 0
+#include <machine/i82489var.h>
+#endif
+
 #if NIOAPIC > 0
 #include <machine/i82093var.h>
 #endif