소스 검색

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 년 전
부모
커밋
6373fffc5d
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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;	\