Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/common/lib/libc/arch/arm/atomic Use the right register in pr...
details: https://anonhg.NetBSD.org/src/rev/c83edfbbd797
branches: trunk
changeset: 807631:c83edfbbd797
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Apr 17 07:15:02 2015 +0000
description:
Use the right register in previous. Spotted by matt@
diffstat:
common/lib/libc/arch/arm/atomic/atomic_swap.S | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 56602168def0 -r c83edfbbd797 common/lib/libc/arch/arm/atomic/atomic_swap.S
--- a/common/lib/libc/arch/arm/atomic/atomic_swap.S Fri Apr 17 07:03:40 2015 +0000
+++ b/common/lib/libc/arch/arm/atomic/atomic_swap.S Fri Apr 17 07:15:02 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic_swap.S,v 1.12 2015/04/17 07:03:40 skrll Exp $ */
+/* $NetBSD: atomic_swap.S,v 1.13 2015/04/17 07:15:02 skrll Exp $ */
/*-
* Copyright (c) 2007,2012 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
#ifdef _ARM_ARCH_7
dmb
#else
- mcr p15, 0, r3, c7, c10, 5 /* data memory barrier */
+ mcr p15, 0, r1, c7, c10, 5 /* data memory barrier */
#endif
strb r1, [r0]
RET
@@ -131,7 +131,7 @@
#ifdef _ARM_ARCH_7
dmb
#else
- mcr p15, 0, r3, c7, c10, 5 /* data memory barrier */
+ mcr p15, 0, r1, c7, c10, 5 /* data memory barrier */
#endif
strb r1, [r0]
RET
Home |
Main Index |
Thread Index |
Old Index