summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2010-07-21 14:08:10 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2010-07-21 14:08:10 +0000
commit9131a6ee5832d2c6f2b1e83160310041b9c09dcf (patch)
tree1a05bdaa2c84f812a3b1073ea54c3111d16c6996 /sys/arch/amd64/include
parent1e391320a89a368a6bd23e358164aedbe4b983ce (diff)
Make sure that the FPU IPIs shoot down the right FPU context and not the FPU
context of some random process that happened to be switched onto the FPU after the decision was made to send the IPI.
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r--sys/arch/amd64/include/cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/include/cpu.h b/sys/arch/amd64/include/cpu.h
index 71286c5b7d1..c9730702f2f 100644
--- a/sys/arch/amd64/include/cpu.h
+++ b/sys/arch/amd64/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.51 2009/12/09 14:27:34 oga Exp $ */
+/* $OpenBSD: cpu.h,v 1.52 2010/07/21 14:08:09 kettenis Exp $ */
/* $NetBSD: cpu.h,v 1.1 2003/04/26 18:39:39 fvdl Exp $ */
/*-
@@ -74,6 +74,7 @@ struct cpu_info {
u_int64_t ci_scratch;
struct proc *ci_fpcurproc;
+ struct proc *ci_fpsaveproc;
int ci_fpsaving;
struct pcb *ci_curpcb;