diff options
author | gonzo <gonzo@FreeBSD.org> | 2012-03-06 03:30:09 +0000 |
---|---|---|
committer | gonzo <gonzo@FreeBSD.org> | 2012-03-06 03:30:09 +0000 |
commit | ece21645a2c9e9413d1746abdbd9e3009d2a975d (patch) | |
tree | 76785a23a51e0298b5a9fb980ff8e43dce303b31 /lib/libc/mips | |
parent | 550ac78f0e50c0230e845dd98c2287a983b90acc (diff) | |
download | FreeBSD-src-ece21645a2c9e9413d1746abdbd9e3009d2a975d.zip FreeBSD-src-ece21645a2c9e9413d1746abdbd9e3009d2a975d.tar.gz |
Implement _set_tp
Diffstat (limited to 'lib/libc/mips')
-rw-r--r-- | lib/libc/mips/gen/_set_tp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/mips/gen/_set_tp.c b/lib/libc/mips/gen/_set_tp.c index 4c26dff..0bf04b52 100644 --- a/lib/libc/mips/gen/_set_tp.c +++ b/lib/libc/mips/gen/_set_tp.c @@ -29,7 +29,11 @@ #include <string.h> #include <stdint.h> +#include <machine/sysarch.h> + void _set_tp(void *tp) { + + sysarch(MIPS_SET_TLS, tp); } |