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);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to