[SPARC/SPARC64]: Fix usage of .section .sched.text in assembler code.
authorSam Ravnborg <sam@ravnborg.org>
Tue, 29 Jan 2008 05:06:23 +0000 (21:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2008 03:32:43 +0000 (19:32 -0800)
ld will generate an unique named section when assembler do not use
"ax" but gcc does. Add the missing annotation.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/lib/rwsem.S
arch/sparc64/lib/rwsem.S

index 2065774..f406b1f 100644 (file)
@@ -7,7 +7,7 @@
 #include <asm/ptrace.h>
 #include <asm/psr.h>
 
-       .section .sched.text
+       .section .sched.text, "ax"
        .align  4
 
        .globl          ___down_read
index 75f0e6b..1a4cc56 100644 (file)
@@ -6,7 +6,7 @@
 
 #include <asm/rwsem-const.h>
 
-       .section        .sched.text
+       .section        .sched.text, "ax"
 
        .globl          __down_read
 __down_read: