about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/thread/arm/clone.s3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/thread/arm/clone.s b/src/thread/arm/clone.s
index 127fc0be..ce372ad3 100644
--- a/src/thread/arm/clone.s
+++ b/src/thread/arm/clone.s
@@ -31,5 +31,6 @@ clone:
 	mov r0,#1
 	svc 0
 
-1:	blx r5
+1:	mov lr,pc
+	bx r5
 	b 2b