Author: jhibbits
Date: Sun Oct 23 01:03:17 2016
New Revision: 307814
URL: https://svnweb.freebsd.org/changeset/base/307814

Log:
  Revert r307813.
  
  I misread the code, and it shouldn't have compiled (fputhread is just a 
variable
  name).

Modified:
  head/sys/powerpc/powerpc/trap.c

Modified: head/sys/powerpc/powerpc/trap.c
==============================================================================
--- head/sys/powerpc/powerpc/trap.c     Sun Oct 23 01:01:08 2016        
(r307813)
+++ head/sys/powerpc/powerpc/trap.c     Sun Oct 23 01:03:17 2016        
(r307814)
@@ -769,9 +769,9 @@ fix_unaligned(struct thread *td, struct 
                 * 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);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to