Garbage collect some code that was never compiled in to handle Altivec

during traps. It predates actual Altivec support and was never used.
This commit is contained in:
Nathan Whitehorn 2009-11-22 20:45:15 +00:00
parent dfe0df9a76
commit 961e3d1410

View File

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