diff options
| author | Oleksandr Tymoshenko <gonzo@FreeBSD.org> | 2012-03-06 03:30:09 +0000 |
|---|---|---|
| committer | Oleksandr Tymoshenko <gonzo@FreeBSD.org> | 2012-03-06 03:30:09 +0000 |
| commit | 011caac286643cdd4c36dfebfc484012ca830f16 (patch) | |
| tree | 76785a23a51e0298b5a9fb980ff8e43dce303b31 /lib/libc/mips | |
| parent | dd2f96800ba39ebea0acda2a30a9bb36d86b5026 (diff) | |
Notes
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 4c26dffa0114..0bf04b525acc 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); } |
