summaryrefslogtreecommitdiffstats
path: root/sys/amd64/acpica
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2010-07-29 16:41:21 +0000
committerjkim <jkim@FreeBSD.org>2010-07-29 16:41:21 +0000
commit36b672010dbc47ed5ef47459586fdf5c5e216e0a (patch)
treee04876eaf5175cb1ac84b93775f340717b2c521b /sys/amd64/acpica
parent981d60d2182ee5fa4d5b0bf3e25d61dd8320656b (diff)
downloadFreeBSD-src-36b672010dbc47ed5ef47459586fdf5c5e216e0a.zip
FreeBSD-src-36b672010dbc47ed5ef47459586fdf5c5e216e0a.tar.gz
Rename PCB_USER_FPU to PCB_USERFPU not to clash with a macro from fpu.h.
Diffstat (limited to 'sys/amd64/acpica')
-rw-r--r--sys/amd64/acpica/acpi_switch.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/acpica/acpi_switch.S b/sys/amd64/acpica/acpi_switch.S
index 57a3aa8..2ce5c02 100644
--- a/sys/amd64/acpica/acpi_switch.S
+++ b/sys/amd64/acpica/acpi_switch.S
@@ -156,7 +156,7 @@ ENTRY(acpi_restorecpu)
movq PCPU(FPCURTHREAD), %rax
testq %rax, %rax
je 1f
- fxrstor WAKEUP_PCB(USER_FPU)
+ fxrstor WAKEUP_PCB(USERFPU)
1:
/* Restore CR0 with FPU mode. */
OpenPOWER on IntegriCloud