Author: gonzo
Date: Fri Feb 10 23:24:33 2012
New Revision: 231470
URL: http://svn.freebsd.org/changeset/base/231470

Log:
  - Reverse logic so base tls is fixed up with correct number

Modified:
  head/sys/mips/mips/vm_machdep.c

Modified: head/sys/mips/mips/vm_machdep.c
==============================================================================
--- head/sys/mips/mips/vm_machdep.c     Fri Feb 10 23:19:33 2012        
(r231469)
+++ head/sys/mips/mips/vm_machdep.c     Fri Feb 10 23:24:33 2012        
(r231470)
@@ -608,7 +608,7 @@ cpu_set_user_tls(struct thread *td, void
         * to make it the same way TLS base is passed to 
         * MIPS_SET_TLS/MIPS_GET_TLS API 
         */
-#ifndef __mips_n64
+#ifdef __mips_n64
        td->td_md.md_tls = (char*)tls_base + 0x7010;
 #else
        td->td_md.md_tls = (char*)tls_base + 0x7008;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to