svn commit: r199669 - head/sys/powerpc/aim

Nathan Whitehorn nwhitehorn at FreeBSD.org
Sun Nov 22 20:45:16 UTC 2009


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);


More information about the svn-src-all mailing list