summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/arm64/arm64/copy.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm64/arm64/copy.S b/sys/arch/arm64/arm64/copy.S
index 4ced221e81f..9d461fffbfa 100644
--- a/sys/arch/arm64/arm64/copy.S
+++ b/sys/arch/arm64/arm64/copy.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: copy.S,v 1.5 2018/08/12 17:15:10 mortimer Exp $ */
+/* $OpenBSD: copy.S,v 1.6 2019/06/17 12:25:49 patrick Exp $ */
/*
* Copyright (c) 2015 Dale Rahn <drahn@dalerahn.com>
* Copyright (c) 2014 Patrick Wildt <patrick@blueri.se>
@@ -60,7 +60,7 @@ ENTRY(copyin)
.Lcopyfault:
mov x0, #EFAULT
- ldr x4, [x3, #(PCB_ONFAULT)]
+ str x4, [x3, #(PCB_ONFAULT)]
RETGUARD_CHECK(copy, x15)
ret