summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2006-04-19 15:51:23 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2006-04-19 15:51:23 +0000
commit895719e5105f8e652e8afe54974c5efa8f9aa6f4 (patch)
treef645c8c1f60c5fd69e4b2f5978eb2bee837206e7 /sys/arch
parent18a560b6f77127052a05dcaa809c0a574a9aa268 (diff)
oops. forgot fnclex define (:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/amd64/fpu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/fpu.c b/sys/arch/amd64/amd64/fpu.c
index 5c13d8d7e21..e2dd39a2d31 100644
--- a/sys/arch/amd64/amd64/fpu.c
+++ b/sys/arch/amd64/amd64/fpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpu.c,v 1.10 2006/04/19 15:48:17 mickey Exp $ */
+/* $OpenBSD: fpu.c,v 1.11 2006/04/19 15:51:22 mickey Exp $ */
/* $NetBSD: fpu.c,v 1.1 2003/04/26 18:39:28 fvdl Exp $ */
/*-
@@ -83,6 +83,7 @@
#define fninit() __asm("fninit")
#define fwait() __asm("fwait")
+#define fnclex() __asm("fnclex")
#define fxsave(addr) __asm("fxsave %0" : "=m" (*addr))
#define fxrstor(addr) __asm("fxrstor %0" : : "m" (*addr))
#define ldmxcsr(addr) __asm("ldmxcsr %0" : : "m" (*addr))