From b55989a2048004f76c8fbc8c8d3af484669f841d Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 26 Nov 2009 11:49:34 +0000 Subject: re-init the fpu like on i386 --- sys/arch/amd64/amd64/acpi_machdep.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/arch') diff --git a/sys/arch/amd64/amd64/acpi_machdep.c b/sys/arch/amd64/amd64/acpi_machdep.c index de5e2baf846..d92ee6332a6 100644 --- a/sys/arch/amd64/amd64/acpi_machdep.c +++ b/sys/arch/amd64/amd64/acpi_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpi_machdep.c,v 1.28 2009/11/26 11:49:07 deraadt Exp $ */ +/* $OpenBSD: acpi_machdep.c,v 1.29 2009/11/26 11:49:33 deraadt Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert * @@ -243,6 +243,9 @@ acpi_sleep_machdep(struct acpi_softc *sc, int state) lapic_initclocks(); lapic_set_lvt(); #endif + + fpuinit(&cpu_info_primary); + #if NIOAPIC > 0 ioapic_enable(); #endif -- cgit v1.2.3