diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-07-21 14:08:10 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-07-21 14:08:10 +0000 |
commit | 9131a6ee5832d2c6f2b1e83160310041b9c09dcf (patch) | |
tree | 1a05bdaa2c84f812a3b1073ea54c3111d16c6996 /sys/arch/i386/include | |
parent | 1e391320a89a368a6bd23e358164aedbe4b983ce (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/i386/include')
-rw-r--r-- | sys/arch/i386/include/cpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 */ |