summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/mp_machdep.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2014-03-04 21:35:57 +0000
committerjkim <jkim@FreeBSD.org>2014-03-04 21:35:57 +0000
commit9b4d3b43ca60f109330c335ee3a1c66789992c75 (patch)
tree1b3a72f698c2bb6813fb09a6eaeb48a858b07117 /sys/amd64/amd64/mp_machdep.c
parente6f1aee9e476c71c31df44313d81af5a5838d1ab (diff)
downloadFreeBSD-src-9b4d3b43ca60f109330c335ee3a1c66789992c75.zip
FreeBSD-src-9b4d3b43ca60f109330c335ee3a1c66789992c75.tar.gz
Move fpusave() wrapper for suspend hander to sys/amd64/amd64/fpu.c.
Inspired by: jhb
Diffstat (limited to 'sys/amd64/amd64/mp_machdep.c')
-rw-r--r--sys/amd64/amd64/mp_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c
index 4af4f8f..1b38f60 100644
--- a/sys/amd64/amd64/mp_machdep.c
+++ b/sys/amd64/amd64/mp_machdep.c
@@ -1464,7 +1464,7 @@ cpususpend_handler(void)
cpu = PCPU_GET(cpuid);
if (savectx(susppcbs[cpu])) {
- ctx_fpusave(susppcbs[cpu]->pcb_fpususpend);
+ fpususpend(susppcbs[cpu]->pcb_fpususpend);
wbinvd();
CPU_SET_ATOMIC(cpu, &suspended_cpus);
} else {
OpenPOWER on IntegriCloud