Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sh3/sh3 Fix trailing backslashes in a macro that go...



details:   https://anonhg.NetBSD.org/src/rev/4d75318c57ef
branches:  trunk
changeset: 1023624:4d75318c57ef
user:      uwe <uwe%NetBSD.org@localhost>
date:      Sat Sep 18 21:34:56 2021 +0000

description:
Fix trailing backslashes in a macro that got misaligned.

diffstat:

 sys/arch/sh3/sh3/cpu_in_cksum.S |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r d93a64ab5a04 -r 4d75318c57ef sys/arch/sh3/sh3/cpu_in_cksum.S
--- a/sys/arch/sh3/sh3/cpu_in_cksum.S   Sat Sep 18 19:59:11 2021 +0000
+++ b/sys/arch/sh3/sh3/cpu_in_cksum.S   Sat Sep 18 21:34:56 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu_in_cksum.S,v 1.10 2021/09/18 19:21:39 uwe Exp $    */
+/*     $NetBSD: cpu_in_cksum.S,v 1.11 2021/09/18 21:34:56 uwe Exp $    */
 
 /*-
  * Copyright (c) 2000 SHIMIZU Ryo <ryo%misakimix.org@localhost>
@@ -34,7 +34,7 @@
 #include <machine/asm.h>
 #include "assym.h"
 
-__KERNEL_RCSID(0, "$NetBSD: cpu_in_cksum.S,v 1.10 2021/09/18 19:21:39 uwe Exp $")
+__KERNEL_RCSID(0, "$NetBSD: cpu_in_cksum.S,v 1.11 2021/09/18 21:34:56 uwe Exp $")
 
 
 #define        reg_byte_swapped        r1
@@ -58,9 +58,9 @@
 
 #if _BYTE_ORDER == BIG_ENDIAN
 #define        ADDB    \
-       mov.b   @reg_w+, r0             ; \
-       ROL                             ; \
-       extu.b  r0, r0  ; \
+       mov.b   @reg_w+, r0     ; \
+       ROL                     ; \
+       extu.b  r0, r0          ; \
        add     r0, reg_sum     ; \
        not     reg_byte_swapped, reg_byte_swapped
 #else



Home | Main Index | Thread Index | Old Index