summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2008-06-29 15:06:13 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:14 +0200
commit557a43c37f50b3e696f7276f9edc9db6f1f6ab3b (patch)
tree38bc4c805bec27c6370c3b3b8a5686c0caf3a874 /i386
parentfb0f32066f599c9f46d40fe1446934b3cc29a1ae (diff)
2008-06-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
* i386/i386/fpu.c (fpintr): Do not panic if the we receive the interrupt twice in the same thread.
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/fpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386/fpu.c b/i386/i386/fpu.c
index ad2173c..306baa4 100644
--- a/i386/i386/fpu.c
+++ b/i386/i386/fpu.c
@@ -674,7 +674,7 @@ ASSERT_IPL(SPL1);
/* leave fp_intr_thread THREAD_NULL */
return;
}
- if (fp_intr_thread != THREAD_NULL)
+ if (fp_intr_thread != THREAD_NULL && fp_intr_thread != thread)
panic("fp_intr: already caught intr");
fp_intr_thread = thread;
#endif /* NCPUS == 1 */