Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ab59284eaeb9560926ef5f0a233d91ecb4e64e1a
Commit:     ab59284eaeb9560926ef5f0a233d91ecb4e64e1a
Parent:     2afab729f599af4aa7a6e737b20bc43a4fdff69e
Author:     Jesper Nilsson <[EMAIL PROTECTED]>
AuthorDate: Mon Jan 21 14:10:33 2008 +0100
Committer:  Jesper Nilsson <[EMAIL PROTECTED]>
CommitDate: Fri Feb 8 11:06:32 2008 +0100

    CRIS v10: Remove duplicated folding of carry from lib/checksumcopy.S, it is 
not needed.
    
    Also, remove useless CVS id tag.
---
 arch/cris/arch-v10/lib/checksumcopy.S |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/arch/cris/arch-v10/lib/checksumcopy.S 
b/arch/cris/arch-v10/lib/checksumcopy.S
index 35cbffb..540db8a 100644
--- a/arch/cris/arch-v10/lib/checksumcopy.S
+++ b/arch/cris/arch-v10/lib/checksumcopy.S
@@ -1,4 +1,4 @@
-/* $Id: checksumcopy.S,v 1.1 2001/12/17 13:59:27 bjornw Exp $
+/*
  * A fast checksum+copy routine using movem
  * Copyright (c) 1998, 2001 Axis Communications AB
  *
@@ -67,8 +67,6 @@ _mloop:       movem   [$r10+],$r9     ; read 10 longwords
        
        ax
        addq    0,$r13
-       ax                      ; do it again, since we might have generated a 
carry
-       addq    0,$r13
 
        subq    10*4,$r12
        bge     _mloop
@@ -91,10 +89,6 @@ _word_loop:
        lsrq    16,$r9          ; r0 = checksum >> 16
        and.d   0xffff,$r13     ; checksum = checksum & 0xffff
        add.d   $r9,$r13        ; checksum += r0
-       move.d  $r13,$r9        ; do the same again, maybe we got a carry last 
add
-       lsrq    16,$r9
-       and.d   0xffff,$r13
-       add.d   $r9,$r13
        
 _no_fold:
        cmpq    2,$r12
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to