diff options
author | jkim <jkim@FreeBSD.org> | 2014-03-04 21:35:57 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2014-03-04 21:35:57 +0000 |
commit | 9b4d3b43ca60f109330c335ee3a1c66789992c75 (patch) | |
tree | 1b3a72f698c2bb6813fb09a6eaeb48a858b07117 /sys/amd64/amd64/cpu_switch.S | |
parent | e6f1aee9e476c71c31df44313d81af5a5838d1ab (diff) | |
download | FreeBSD-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/cpu_switch.S')
-rw-r--r-- | sys/amd64/amd64/cpu_switch.S | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/amd64/amd64/cpu_switch.S b/sys/amd64/amd64/cpu_switch.S index b0f3412..7c37a41 100644 --- a/sys/amd64/amd64/cpu_switch.S +++ b/sys/amd64/amd64/cpu_switch.S @@ -546,16 +546,3 @@ ENTRY(resumectx) xorl %eax,%eax ret END(resumectx) - -/* - * Wrapper around fpusave to care about CR0_TS. - */ -ENTRY(ctx_fpusave) - movq %cr0,%rax - pushq %rax - clts - call fpusave - popq %rax - movq %rax,%cr0 - ret -END(ctx_fpusave) |