[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 20657744c86444904958afde1576161636bfb067..f406b1f22791a8f65de6ba133c85cec37c6ad557 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 75f0e6b951d61b9ff5ef5ecf4187bac65ea785bf..1a4cc5654de4668a5d751644115031e87555a53d 100644 (file)
@@ -6,7 +6,7 @@
 
 #include <asm/rwsem-const.h>
 
-       .section        .sched.text
+       .section        .sched.text, "ax"
 
        .globl          __down_read
 __down_read: