Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2012 23:24:34 +0000 (UTC)
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r231470 - head/sys/mips/mips
Message-ID:  <201202102324.q1ANOYYW001591@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202102324.q1ANOYYW001591>