diff options
Diffstat (limited to 'lib/libc/mips/gen/_set_tp.c')
-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); } |