summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2009-11-22 20:45:15 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2009-11-22 20:45:15 +0000
commitcb5daaa321906fb0f886cbc1f951c9b32e3b528e (patch)
treefd68b80a5d270689a472ba793435cbc7d600f867 /sys/powerpc/aim
parent62db90a220c517dadf8f18e529ad6b728780afd2 (diff)
downloadFreeBSD-src-cb5daaa321906fb0f886cbc1f951c9b32e3b528e.zip
FreeBSD-src-cb5daaa321906fb0f886cbc1f951c9b32e3b528e.tar.gz
Garbage collect some code that was never compiled in to handle Altivec
during traps. It predates actual Altivec support and was never used.
Diffstat (limited to 'sys/powerpc/aim')
-rw-r--r--sys/powerpc/aim/trap.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/powerpc/aim/trap.c b/sys/powerpc/aim/trap.c
index 60c6bb0..ca122ac 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);
OpenPOWER on IntegriCloud