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/m68k/atomic fix comment



details:   https://anonhg.NetBSD.org/src/rev/cc450561cd45
branches:  trunk
changeset: 339290:cc450561cd45
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Fri Jul 10 20:16:01 2015 +0000

description:
fix comment

diffstat:

 common/lib/libc/arch/m68k/atomic/atomic_cas.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3324d683ce80 -r cc450561cd45 common/lib/libc/arch/m68k/atomic/atomic_cas.S
--- a/common/lib/libc/arch/m68k/atomic/atomic_cas.S     Fri Jul 10 15:28:01 2015 +0000
+++ b/common/lib/libc/arch/m68k/atomic/atomic_cas.S     Fri Jul 10 20:16:01 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atomic_cas.S,v 1.12 2015/07/04 07:11:45 isaki Exp $    */
+/*     $NetBSD: atomic_cas.S,v 1.13 2015/07/10 20:16:01 mlelstv Exp $  */
 
 /*-
  * Copyright (c) 2007, 2008 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
        movw    8+2(%sp), %d0           /* lower word */
        movw    12+2(%sp), %d1          /* lower word */
        casw    %d0, %d1, (%a0)
-       /* %d3 now contains the old value */
+       /* %d0 now contains the old value */
        beqs    1f
        clrl    %d0     /* return failure */
        rts
@@ -116,7 +116,7 @@
        movb    8+3(%sp), %d0           /* lower byte */
        movb    12+3(%sp), %d1          /* lower byte */
        casb    %d0, %d1, (%a0)
-       /* %d3 now contains the old value */
+       /* %d0 now contains the old value */
        beqs    1f
        clrl    %d0     /* return failure */
        rts



Home | Main Index | Thread Index | Old Index