about summary refs log tree commit diff
path: root/src/thread/arm/clone.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/arm/clone.s')
-rw-r--r--src/thread/arm/clone.s3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/thread/arm/clone.s b/src/thread/arm/clone.s
index ce372ad3..daf8f556 100644
--- a/src/thread/arm/clone.s
+++ b/src/thread/arm/clone.s
@@ -27,8 +27,7 @@ clone:
 	bne 1f
 	mov lr,pc
 	mov pc,r5
-2:	mov r1,r0
-	mov r0,#1
+2:	mov r7,#1
 	svc 0
 
 1:	mov lr,pc