diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-26 11:49:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-26 11:49:34 +0000 |
commit | b55989a2048004f76c8fbc8c8d3af484669f841d (patch) | |
tree | 1d0b06c397d71ebbdc8619e15f77943755b08edc /sys | |
parent | d345f47d9d40798a39a594c09a5f6e4a515a9e50 (diff) |
re-init the fpu like on i386
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amd64/amd64/acpi_machdep.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 <tholo@sigmasoft.com> * @@ -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 |