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 compute the entry size correctly.



details:   https://anonhg.NetBSD.org/src/rev/30a954093786
branches:  trunk
changeset: 769916:30a954093786
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Sep 26 22:43:07 2011 +0000

description:
compute the entry size correctly.

diffstat:

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

diffs (33 lines):

diff -r 7b12c05a3aee -r 30a954093786 sys/arch/sh3/sh3/cpu_in_cksum.S
--- a/sys/arch/sh3/sh3/cpu_in_cksum.S   Mon Sep 26 21:44:09 2011 +0000
+++ b/sys/arch/sh3/sh3/cpu_in_cksum.S   Mon Sep 26 22:43:07 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu_in_cksum.S,v 1.2 2008/02/02 02:15:40 uwe Exp $     */
+/*     $NetBSD: cpu_in_cksum.S,v 1.3 2011/09/26 22:43:07 christos Exp $        */
 
 /*-
  * Copyright (c) 2000 SHIMIZU Ryo <ryo%misakimix.org@localhost>
@@ -31,7 +31,7 @@
 #include <machine/asm.h>
 #include "assym.h"
 
-__KERNEL_RCSID(0, "$NetBSD: cpu_in_cksum.S,v 1.2 2008/02/02 02:15:40 uwe Exp $")
+__KERNEL_RCSID(0, "$NetBSD: cpu_in_cksum.S,v 1.3 2011/09/26 22:43:07 christos Exp $")
 
 
 #define        reg_tmp0                r0
@@ -244,9 +244,6 @@
 .L_message_out_of_data:
        .asciz "cksum: out of data (%d byte short)\n"
 
-       SET_ENTRY_SIZE(in_cksum)
-
-
        .align  2
 cksum128mod:
        mov     reg_mlen,reg_tmp0
@@ -305,3 +302,4 @@
        mov     #0,reg_tmp0
        rts
         addc   reg_tmp0,reg_sum
+       SET_ENTRY_SIZE(cpu_in_cksum)



Home | Main Index | Thread Index | Old Index