patch-2.1.79 linux/arch/ppc/lib/checksum.S

Next file: linux/arch/ppc/lib/locks.c
Previous file: linux/arch/ppc/lib/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.78/linux/arch/ppc/lib/checksum.S linux/arch/ppc/lib/checksum.S
@@ -13,10 +13,11 @@
  */
 
 #include <linux/sys.h>
+#include <asm/processor.h>
 #include <asm/errno.h>
 #include "../kernel/ppc_asm.tmpl"
 
-_TEXT()
+	.text
 
 /*
  * ip_fast_csum(buf, len) -- Optimized for IP header
@@ -140,7 +141,8 @@
 5:	addze	r3,r0		/* add in final carry */
 	blr
 
-.section .fixup,"ax"
+/* These shouldn't go in the fixup section, since that would
+   cause the ex_table addresses to get out of order. */
 
 src_error_1:
 	li	r6,0

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov