diff options
author | 2009-11-26 11:49:33 +0000 | |
---|---|---|
committer | 2009-11-26 11:49:33 +0000 | |
commit | 2e3288f97596c4adf6773b18dd1c07000f7175e3 (patch) | |
tree | 7896526e9ac81ec26e4f42c9b553c43eeff4e0d1 /sys | |
parent | Really want isa.h when using #ifdef NISA > 0 (diff) | |
download | wireguard-openbsd-2e3288f97596c4adf6773b18dd1c07000f7175e3.tar.xz wireguard-openbsd-2e3288f97596c4adf6773b18dd1c07000f7175e3.zip |
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 |