diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2006-09-02 17:49:45 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2006-09-02 17:49:45 +0000 |
| commit | efc075fdfc1af3e4160c7f3f6997a0d336098afd (patch) | |
| tree | f91f13a6b28d5c68589ed6b6abdc1bb42dfa1603 /lib | |
| parent | 86028bfdb2640bc2fc111cbc25f10232f7f32ca3 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/ia64/gen/_set_tp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/ia64/gen/_set_tp.c b/lib/libc/ia64/gen/_set_tp.c index 2419e10209ec..901e90166918 100644 --- a/lib/libc/ia64/gen/_set_tp.c +++ b/lib/libc/ia64/gen/_set_tp.c @@ -29,7 +29,6 @@ void _set_tp(void *tpval) { - register void* tp __asm__("r13"); - tp = tpval; + __asm __volatile("mov r13 = %0" :: "r"(tpval)); } |
