From eaa5e39660d3d9150a2fd63384ac5d62eae11f27 Mon Sep 17 00:00:00 2001 From: Justin Hibbits Date: Sun, 23 Oct 2016 01:03:17 +0000 Subject: [PATCH] Revert r307813. I misread the code, and it shouldn't have compiled (fputhread is just a variable name). --- sys/powerpc/powerpc/trap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/powerpc/powerpc/trap.c b/sys/powerpc/powerpc/trap.c index 702b48942da8..b3217628943a 100644 --- a/sys/powerpc/powerpc/trap.c +++ b/sys/powerpc/powerpc/trap.c @@ -769,9 +769,9 @@ fix_unaligned(struct thread *td, struct trapframe *frame) * the registers, and that their current state is in * the PCB. */ - if (vecthread != td) { - if (vecthread) - save_vec(vecthread); + if (fputhread != td) { + if (fputhread) + save_vec(fputhread); enable_vec(td); } save_vec(td);