Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 2010 04:01:45 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r205434 - head/sys/ia64/ia64
Message-ID:  <201003220401.o2M41jYG007484@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Mon Mar 22 04:01:45 2010
New Revision: 205434
URL: http://svn.freebsd.org/changeset/base/205434

Log:
  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.

Modified:
  head/sys/ia64/ia64/highfp.c

Modified: head/sys/ia64/ia64/highfp.c
==============================================================================
--- head/sys/ia64/ia64/highfp.c	Mon Mar 22 03:55:18 2010	(r205433)
+++ head/sys/ia64/ia64/highfp.c	Mon Mar 22 04:01:45 2010	(r205434)
@@ -92,8 +92,6 @@ ia64_highfp_enable(struct thread *td, st
 	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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003220401.o2M41jYG007484>