From 961e3d1410f333d92c29e170138023f9fa5da052 Mon Sep 17 00:00:00 2001 From: Nathan Whitehorn Date: Sun, 22 Nov 2009 20:45:15 +0000 Subject: [PATCH] Garbage collect some code that was never compiled in to handle Altivec during traps. It predates actual Altivec support and was never used. --- sys/powerpc/aim/trap.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sys/powerpc/aim/trap.c b/sys/powerpc/aim/trap.c index 60c6bb079770..ca122ac97372 100644 --- a/sys/powerpc/aim/trap.c +++ b/sys/powerpc/aim/trap.c @@ -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);