]> nv-tegra.nvidia Code Review - linux-3.10.git/commitdiff
sparc64: Fix section attribute warnings.
authorDavid S. Miller <davem@davemloft.net>
Fri, 29 May 2009 23:12:02 +0000 (16:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 May 2009 23:12:02 +0000 (16:12 -0700)
CSUM copy to/from user assembler was missing allocatable and
executable attributes for .fixup

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/lib/csum_copy_from_user.S
arch/sparc/lib/csum_copy_to_user.S

index a22eddbe5dba50c6b9e32535862db7d7c3a3987f..e0304e6a2242b3cecb80317f4e602715021ee980 100644 (file)
@@ -5,7 +5,7 @@
 
 #define EX_LD(x)               \
 98:    x;                      \
-       .section .fixup;        \
+       .section .fixup, "ax";  \
        .align 4;               \
 99:    retl;                   \
         mov    -1, %o0;        \
index d5b12f441f0263e82663240807f7521f35c2f8d0..afd01acc587c3f9462d93d54db459b5d3395f24c 100644 (file)
@@ -5,7 +5,7 @@
 
 #define EX_ST(x)               \
 98:    x;                      \
-       .section .fixup;        \
+       .section .fixup,"ax";   \
        .align 4;               \
 99:    retl;                   \
         mov    -1, %o0;        \