summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-05-29 16:12:02 -0700
committerDavid S. Miller <davem@davemloft.net>2009-05-29 16:12:02 -0700
commit6373fffc5d555caf3acf7c5796cec9820aaf7479 (patch)
treee8c65ba5b45214fe11c6c38cd2e8803218eca611 /arch
parentd3584183d2f40f40371e288ceef187d04da213b5 (diff)
downloadop-kernel-dev-6373fffc5d555caf3acf7c5796cec9820aaf7479.zip
op-kernel-dev-6373fffc5d555caf3acf7c5796cec9820aaf7479.tar.gz
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')
-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 a22eddb..e0304e6 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 d5b12f4..afd01ac 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; \
OpenPOWER on IntegriCloud