diff --git a/sys/powerpc/powerpc/trap.c b/sys/powerpc/powerpc/trap.c index 143811eedf97..cd589f31be80 100644 --- a/sys/powerpc/powerpc/trap.c +++ b/sys/powerpc/powerpc/trap.c @@ -295,7 +295,7 @@ trap(struct trapframe *frame) ("VSX already enabled for thread")); if (!(td->td_pcb->pcb_flags & PCB_VEC)) enable_vec(td); - if (!(td->td_pcb->pcb_flags & PCB_FPU)) + if (td->td_pcb->pcb_flags & PCB_FPU) save_fpu(td); td->td_pcb->pcb_flags |= PCB_VSX; enable_fpu(td);