patch-2.4.22 linux-2.4.22/arch/ppc/lib/checksum.S
Next file: linux-2.4.22/arch/ppc/lib/locks.c
Previous file: linux-2.4.22/arch/ppc/kernel/traps.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
2003-08-25 04:44:40.000000000 -0700
- Orig file:
linux-2.4.21/arch/ppc/lib/checksum.S
- Orig date:
2003-06-13 07:51:31.000000000 -0700
diff -urN linux-2.4.21/arch/ppc/lib/checksum.S linux-2.4.22/arch/ppc/lib/checksum.S
@@ -1,7 +1,7 @@
/*
* This file contains assembly-language implementations
* of IP-style 1's complement checksum routines.
- *
+ *
* Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
*
* This program is free software; you can redistribute it and/or
@@ -43,7 +43,7 @@
/*
* Compute checksum of TCP or UDP pseudo-header:
* csum_tcpudp_magic(saddr, daddr, len, proto, sum)
- */
+ */
_GLOBAL(csum_tcpudp_magic)
rlwimi r5,r6,16,0,15 /* put proto in upper half of len */
addc r0,r3,r4 /* add 4 32-bit words together */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)