Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2012 03:30:09 +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: r232581 - head/lib/libc/mips/gen
Message-ID:  <201203060330.q263U959017654@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gonzo
Date: Tue Mar  6 03:30:09 2012
New Revision: 232581
URL: http://svn.freebsd.org/changeset/base/232581

Log:
  Implement _set_tp

Modified:
  head/lib/libc/mips/gen/_set_tp.c

Modified: head/lib/libc/mips/gen/_set_tp.c
==============================================================================
--- head/lib/libc/mips/gen/_set_tp.c	Tue Mar  6 03:29:46 2012	(r232580)
+++ head/lib/libc/mips/gen/_set_tp.c	Tue Mar  6 03:30:09 2012	(r232581)
@@ -29,7 +29,11 @@
 #include <string.h>
 #include <stdint.h>
 
+#include <machine/sysarch.h>
+
 void
 _set_tp(void *tp)
 {
+
+	sysarch(MIPS_SET_TLS, tp);
 }



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