Fix a race in npxdna(). If an interrupt occurs after we have set npxthread
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 30 Apr 2004 02:52:28 +0000 (02:52 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 30 Apr 2004 02:52:28 +0000 (02:52 +0000)
commitbd331ffea93c654f1f90b01334d2e16f1bcfce5a
tree72a28f25bd6939abf5e76b72d9b2bb13b0cfb7a8
parent65d6ce10b46ec1abf01282efeea0a318f389ad5f
Fix a race in npxdna().  If an interrupt occurs after we have set npxthread
but before we call fxrstor() the thread switch would save someone else's
FP state to our PCB.

Fix a minor link problem when using CPU_DISABLE_SSE.
sys/i386/isa/npx.c
sys/platform/pc32/isa/npx.c