diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2006-08-30 00:39:07 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2006-08-30 00:39:07 +0000 |
| commit | 7d3f85133a697062752d73b295cb7c563f2759cc (patch) | |
| tree | 93d4a447a9df386c4d2a48c59c301156878b363f /lib/libc/ia64 | |
| parent | 1b980732bbc687cc8933940fb9bc5f6965b5fe8e (diff) | |
Notes
Diffstat (limited to 'lib/libc/ia64')
| -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)); } |
