From ece21645a2c9e9413d1746abdbd9e3009d2a975d Mon Sep 17 00:00:00 2001 From: gonzo Date: Tue, 6 Mar 2012 03:30:09 +0000 Subject: Implement _set_tp --- lib/libc/mips/gen/_set_tp.c | 4 ++++ 1 file changed, 4 insertions(+) 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 #include +#include + void _set_tp(void *tp) { + + sysarch(MIPS_SET_TLS, tp); } -- cgit v1.1