Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/arm arm copyin/out: make copyin not use copyout...



details:   https://anonhg.NetBSD.org/src/rev/b816ed52c74e
branches:  trunk
changeset: 1017047:b816ed52c74e
user:      dholland <dholland%NetBSD.org@localhost>
date:      Fri Dec 11 09:14:19 2020 +0000

description:
arm copyin/out: make copyin not use copyout's epilogue (typo in labels)

The epilogues are the same, so this is harmless, but if they ever
changed (e.g. after rearranging the register usage) it would be broken
in a very confusing way.

diffstat:

 sys/arch/arm/arm/bcopyinout.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7a92c975bd75 -r b816ed52c74e sys/arch/arm/arm/bcopyinout.S
--- a/sys/arch/arm/arm/bcopyinout.S     Fri Dec 11 09:02:33 2020 +0000
+++ b/sys/arch/arm/arm/bcopyinout.S     Fri Dec 11 09:14:19 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcopyinout.S,v 1.21 2018/01/24 09:04:44 skrll Exp $    */
+/*     $NetBSD: bcopyinout.S,v 1.22 2020/12/11 09:14:19 dholland Exp $ */
 
 /*
  * Copyright (c) 2002 Wasabi Systems, Inc.
@@ -52,7 +52,7 @@
 #include "bcopyinout_xscale.S"
 #else
 
-RCSID("$NetBSD: bcopyinout.S,v 1.21 2018/01/24 09:04:44 skrll Exp $")  
+RCSID("$NetBSD: bcopyinout.S,v 1.22 2020/12/11 09:14:19 dholland Exp $")       
 
        .text
        .align  0
@@ -239,7 +239,7 @@
         * If we're done, bail.
         */
        cmp     r2, #0
-       beq     .Lout
+       beq     .Liout
 
 .Licleanup:
        and     r6, r2, #0x3



Home | Main Index | Thread Index | Old Index