Revert r307813.

I misread the code, and it shouldn't have compiled (fputhread is just a variable
name).
This commit is contained in:
jhibbits 2016-10-23 01:03:17 +00:00
parent 8775b20527
commit 5a6f53be4f

View File

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