summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2015-06-05 05:39:54 +0000
committerjsg <jsg@openbsd.org>2015-06-05 05:39:54 +0000
commit620a358444761dd2d8f4a2f45b180234f788fdd4 (patch)
tree9b8db426474f963291f6abafe9ea30d5dcd76de6
parentregen (diff)
downloadwireguard-openbsd-620a358444761dd2d8f4a2f45b180234f788fdd4.tar.xz
wireguard-openbsd-620a358444761dd2d8f4a2f45b180234f788fdd4.zip
Use p15 for the coprocessor name not 15. gas accepts both forms, clang
won't accept just a number which a comment in the gas code mentions is for backward compatibility.
-rw-r--r--sys/arch/arm/arm/locore.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/arm/arm/locore.S b/sys/arch/arm/arm/locore.S
index d662383a075..da97cea1fb6 100644
--- a/sys/arch/arm/arm/locore.S
+++ b/sys/arch/arm/arm/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.6 2015/01/18 14:55:02 jsg Exp $ */
+/* $OpenBSD: locore.S,v 1.7 2015/06/05 05:39:54 jsg Exp $ */
/* $NetBSD: locore.S,v 1.14 2003/04/20 16:21:40 thorpej Exp $ */
/*
@@ -135,8 +135,8 @@ ENTRY_NP(cpu_reset)
* Hurl ourselves into the ROM
*/
mov r0, #(CPU_CONTROL_32BP_ENABLE | CPU_CONTROL_32BD_ENABLE)
- mcr 15, 0, r0, c1, c0, 0
- mcrne 15, 0, r2, c8, c7, 0 /* nail I+D TLB on ARMv4 and greater */
+ mcr p15, 0, r0, c1, c0, 0
+ mcrne p15, 0, r2, c8, c7, 0 /* nail I+D TLB on ARMv4 and greater */
mov pc, r4
/*