summaryrefslogtreecommitdiffstats
path: root/sys/x86/acpica
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2014-03-10 20:47:24 +0000
committerjkim <jkim@FreeBSD.org>2014-03-10 20:47:24 +0000
commitb04308525e3508d101dc42c32de43d004e6f8204 (patch)
treeec52f43570df230ac8deb378b93f8dc5d879b214 /sys/x86/acpica
parent7086b821e4270a1eae94d0cb299e04bec6be39d3 (diff)
downloadFreeBSD-src-b04308525e3508d101dc42c32de43d004e6f8204.zip
FreeBSD-src-b04308525e3508d101dc42c32de43d004e6f8204.tar.gz
MFC: r262746, r262748, r262750, r262752
Move fpusave() wrapper for suspend hander to sys/amd64/amd64/fpu.c.
Diffstat (limited to 'sys/x86/acpica')
-rw-r--r--sys/x86/acpica/acpi_wakeup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/x86/acpica/acpi_wakeup.c b/sys/x86/acpica/acpi_wakeup.c
index 13119d3..2bedf00 100644
--- a/sys/x86/acpica/acpi_wakeup.c
+++ b/sys/x86/acpica/acpi_wakeup.c
@@ -202,7 +202,7 @@ acpi_sleep_machdep(struct acpi_softc *sc, int state)
if (savectx(susppcbs[0])) {
#ifdef __amd64__
- ctx_fpusave(susppcbs[0]->pcb_fpususpend);
+ fpususpend(susppcbs[0]->pcb_fpususpend);
#endif
#ifdef SMP
if (!CPU_EMPTY(&suspcpus) && suspend_cpus(suspcpus) == 0) {
OpenPOWER on IntegriCloud