Browse Source

sparc64: Fix section attribute warnings.

CSUM copy to/from user assembler was missing allocatable and
executable attributes for .fixup

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 16 years ago
parent
commit
6373fffc5d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      arch/sparc/lib/csum_copy_from_user.S
  2. 1 1
      arch/sparc/lib/csum_copy_to_user.S

+ 1 - 1
arch/sparc/lib/csum_copy_from_user.S

@@ -5,7 +5,7 @@
 
 #define EX_LD(x)		\
 98:	x;			\
-	.section .fixup;	\
+	.section .fixup, "ax";	\
 	.align 4;		\
 99:	retl;			\
 	 mov	-1, %o0;	\

+ 1 - 1
arch/sparc/lib/csum_copy_to_user.S

@@ -5,7 +5,7 @@
 
 #define EX_ST(x)		\
 98:	x;			\
-	.section .fixup;	\
+	.section .fixup,"ax";	\
 	.align 4;		\
 99:	retl;			\
 	 mov	-1, %o0;	\