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/i386/include/cpu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch/i386/include') diff --git a/sys/arch/i386/include/cpu.h b/sys/arch/i386/include/cpu.h index e3944a92479..d6c0e6ef89d 100644 --- a/sys/arch/i386/include/cpu.h +++ b/sys/arch/i386/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.110 2010/05/23 22:41:49 deraadt Exp $ */ +/* $OpenBSD: cpu.h,v 1.111 2010/07/21 14:08:09 kettenis Exp $ */ /* $NetBSD: cpu.h,v 1.35 1996/05/05 19:29:26 christos Exp $ */ /*- @@ -92,6 +92,7 @@ struct cpu_info { * Private members. */ struct proc *ci_fpcurproc; /* current owner of the FPU */ + struct proc *ci_fpsaveproc; int ci_fpsaving; /* save in progress */ struct pcb *ci_curpcb; /* VA of current HW PCB */ -- cgit v1.2.3