summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2017-02-15 21:39:51 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2017-02-15 21:39:51 +0000
commita8325c9d9300c9e1d09c982415ba80c2480f2918 (patch)
treea1cf156b328dbaaf02f60147526171d4ccf26277 /sys
parentd72393355254c5872f1fa4693629584d11683040 (diff)
whitespace fixes
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/arm64/arm64/copy.S8
-rw-r--r--sys/arch/arm64/arm64/copystr.S10
2 files changed, 9 insertions, 9 deletions
diff --git a/sys/arch/arm64/arm64/copy.S b/sys/arch/arm64/arm64/copy.S
index ebe717f97d1..0a493cc16e1 100644
--- a/sys/arch/arm64/arm64/copy.S
+++ b/sys/arch/arm64/arm64/copy.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: copy.S,v 1.2 2017/02/15 21:38:09 patrick Exp $ */
+/* $OpenBSD: copy.S,v 1.3 2017/02/15 21:39:50 patrick Exp $ */
/*
* Copyright (c) 2015 Dale Rahn <drahn@dalerahn.com>
* Copyright (c) 2014 Patrick Wildt <patrick@blueri.se>
@@ -45,7 +45,7 @@ ENTRY(copyin)
str x5, [x3, #(PCB_ONFAULT)] // set handler
// This probably should be optimized
-2: ldtrb w6, [x0]
+2: ldtrb w6, [x0]
strb w6, [x1], #1
add x0, x0, #1
sub x2, x2, #1
@@ -82,7 +82,7 @@ ENTRY(copyout)
str x5, [x3, #(PCB_ONFAULT)] // set handler
// This probably should be optimized
-2: ldrb w6, [x0], #1
+2: ldrb w6, [x0], #1
sttrb w6, [x1]
add x1, x1, #1
sub x2, x2, #1
@@ -112,7 +112,7 @@ ENTRY(kcopy)
str x5, [x3, #(PCB_ONFAULT)] // set handler
// This probably should be optimized
-2: ldrb w6, [x0], #1
+2: ldrb w6, [x0], #1
strb w6, [x1], #1
sub x2, x2, #1
cbnz x2, 2b
diff --git a/sys/arch/arm64/arm64/copystr.S b/sys/arch/arm64/arm64/copystr.S
index db4e996b661..3c13b3a2a24 100644
--- a/sys/arch/arm64/arm64/copystr.S
+++ b/sys/arch/arm64/arm64/copystr.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: copystr.S,v 1.2 2017/02/15 21:38:09 patrick Exp $ */
+/* $OpenBSD: copystr.S,v 1.3 2017/02/15 21:39:50 patrick Exp $ */
/*
* Copyright (c) 2015 Dale Rahn <drahn@dalerahn.com>
* Copyright (c) 2014 Patrick Wildt <patrick@blueri.se>
@@ -43,19 +43,19 @@ ENTRY(copystr)
mov x8, xzr
-1: ldrb w4, [x0], 1
+1: ldrb w4, [x0], 1
strb w4, [x1], #1
sub x2, x2, #1
- add x8, x8, #1
+ add x8, x8, #1
cbz w4, .Lcopystrsuccess
cbnz x2, 1b
mov x0, #ENAMETOOLONG
- b .Lcopystrcleanup
+ b .Lcopystrcleanup
.Lcopystrfault:
mov x0, #EFAULT
- b .Lcopystrcleanup
+ b .Lcopystrcleanup
.Lcopystrsuccess:
mov x0, xzr