diff options
| author | Marius Strobl <marius@FreeBSD.org> | 2012-06-21 13:51:50 +0000 |
|---|---|---|
| committer | Marius Strobl <marius@FreeBSD.org> | 2012-06-21 13:51:50 +0000 |
| commit | 11d3c21d4d8095eb05b31ae7bf9c33f1ac1ce53e (patch) | |
| tree | 0211250077a25f559703e22459f7b912a5664223 /lib/libc/arm | |
| parent | 878c3ff8ba0a7be1880c0cbe44595edfb9e82846 (diff) | |
Notes
Diffstat (limited to 'lib/libc/arm')
| -rw-r--r-- | lib/libc/arm/gen/_set_tp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/arm/gen/_set_tp.c b/lib/libc/arm/gen/_set_tp.c index 4c26dffa0114..44bbdd8ba763 100644 --- a/lib/libc/arm/gen/_set_tp.c +++ b/lib/libc/arm/gen/_set_tp.c @@ -27,9 +27,13 @@ */ #include <string.h> -#include <stdint.h> +#include <sys/types.h> + +#include <machine/sysarch.h> void _set_tp(void *tp) { + + *((struct tcb **)ARM_TP_ADDRESS) = tp; } |
