summaryrefslogtreecommitdiffstats
path: root/arch/sparc/lib
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-05-30 01:12:02 +0200
committerDavid S. Miller <davem@davemloft.net>2009-05-30 01:12:02 +0200
commit6373fffc5d555caf3acf7c5796cec9820aaf7479 (patch)
treee8c65ba5b45214fe11c6c38cd2e8803218eca611 /arch/sparc/lib
parentsparc64: Fix SET_PERSONALITY to not clip bits outside of PER_MASK. (diff)
downloadlinux-6373fffc5d555caf3acf7c5796cec9820aaf7479.tar.xz
linux-6373fffc5d555caf3acf7c5796cec9820aaf7479.zip
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>
Diffstat (limited to 'arch/sparc/lib')
-rw-r--r--arch/sparc/lib/csum_copy_from_user.S2
-rw-r--r--arch/sparc/lib/csum_copy_to_user.S2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/lib/csum_copy_from_user.S b/arch/sparc/lib/csum_copy_from_user.S
index a22eddbe5dba..e0304e6a2242 100644
--- a/arch/sparc/lib/csum_copy_from_user.S
+++ b/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; \
diff --git a/arch/sparc/lib/csum_copy_to_user.S b/arch/sparc/lib/csum_copy_to_user.S
index d5b12f441f02..afd01acc587c 100644
--- a/arch/sparc/lib/csum_copy_to_user.S
+++ b/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; \