Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Nov 2009 20:45:15 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r199669 - head/sys/powerpc/aim
Message-ID:  <200911222045.nAMKjF1N029010@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nwhitehorn
Date: Sun Nov 22 20:45:15 2009
New Revision: 199669
URL: http://svn.freebsd.org/changeset/base/199669

Log:
  Garbage collect some code that was never compiled in to handle Altivec
  during traps. It predates actual Altivec support and was never used.

Modified:
  head/sys/powerpc/aim/trap.c

Modified: head/sys/powerpc/aim/trap.c
==============================================================================
--- head/sys/powerpc/aim/trap.c	Sun Nov 22 20:31:40 2009	(r199668)
+++ head/sys/powerpc/aim/trap.c	Sun Nov 22 20:45:15 2009	(r199669)
@@ -236,12 +236,6 @@ trap(struct trapframe *frame)
 		trap_fatal(frame);
 	}
 
-#ifdef	ALTIVEC
-	if (td != PCPU_GET(vecthread) ||
-	    td->td_pcb->pcb_veccpu != PCPU_GET(cpuid))
-		frame->srr1 &= ~PSL_VEC;
-#endif /* ALTIVEC */
-
 	if (sig != 0) {
 		if (p->p_sysent->sv_transtrap != NULL)
 			sig = (p->p_sysent->sv_transtrap)(sig, type);



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