From 9131a6ee5832d2c6f2b1e83160310041b9c09dcf Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Wed, 21 Jul 2010 14:08:10 +0000 Subject: 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. --- sys/arch/amd64/include/cpu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch/amd64/include') 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; -- cgit v1.2.3