summaryrefslogtreecommitdiff
path: root/thread
diff options
context:
space:
mode:
authorJohn van Groningen2012-03-14 11:52:32 +0000
committerJohn van Groningen2012-03-14 11:52:32 +0000
commitc6620109a2ed495533c7d983b64e9639eaf1b489 (patch)
treed15595242b52b420519f048fb9d6432fc108296a /thread
parentfix free of clean thread local storage (diff)
fix free of clean thread local storage (on 64 bit linux)
Diffstat (limited to 'thread')
-rw-r--r--thread/athread.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread/athread.asm b/thread/athread.asm
index fe14832..41a52e4 100644
--- a/thread/athread.asm
+++ b/thread/athread.asm
@@ -321,7 +321,7 @@ exit_thread:
mov rdi,heap_mbp_offset[r9]
call free
- mov rdi,r9
+ mov rdi,rbx
call free
else
mov rcx,stack_mbp_offset[r9]