diff options
author | marcel <marcel@FreeBSD.org> | 2010-03-22 04:01:45 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2010-03-22 04:01:45 +0000 |
commit | faf8fb6e5bf0cc48dddf676444cadac0a1c57b43 (patch) | |
tree | 5637626d0542957381af9b05a6ad9afb027d7f3c /sys/ia64 | |
parent | 1d18613088fca02d496cae7fe980b20144f83995 (diff) | |
download | FreeBSD-src-faf8fb6e5bf0cc48dddf676444cadac0a1c57b43.zip FreeBSD-src-faf8fb6e5bf0cc48dddf676444cadac0a1c57b43.tar.gz |
With preemption, the high FP registers may get enabled by cpu_switch()
before we grab the mutex. Don't assert that they must be disabled at
that point. We pretty much bypass all logic in that case anyway and
leave immediately, so there's no harm.
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/ia64/highfp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/ia64/ia64/highfp.c b/sys/ia64/ia64/highfp.c index 3aa3af0..f18773b 100644 --- a/sys/ia64/ia64/highfp.c +++ b/sys/ia64/ia64/highfp.c @@ -92,8 +92,6 @@ ia64_highfp_enable(struct thread *td, struct trapframe *tf) pcb = td->td_pcb; mtx_lock_spin(&ia64_highfp_mtx); - KASSERT((tf->tf_special.psr & IA64_PSR_DFH) != 0, - ("(tf->tf_special.psr & IA64_PSR_DFH) == 0")); cpu = pcb->pcb_fpcpu; #ifdef SMP if (cpu != NULL && cpu != pcpup) { |