summaryrefslogtreecommitdiffstats
path: root/arch/sparc/lib
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2008-01-28 21:06:23 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-31 19:32:43 -0800
commitc6d64c16bb193c8ca2ccc0b3c556a4574a02408b (patch)
tree4cf593f98f0ac457c43e9e6513aca71eb6b11109 /arch/sparc/lib
parent13f09b95a82c46ed608d057b22e0dd18ebfff22a (diff)
downloadop-kernel-dev-c6d64c16bb193c8ca2ccc0b3c556a4574a02408b.zip
op-kernel-dev-c6d64c16bb193c8ca2ccc0b3c556a4574a02408b.tar.gz
[SPARC/SPARC64]: Fix usage of .section .sched.text in assembler code.
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>
Diffstat (limited to 'arch/sparc/lib')
-rw-r--r--arch/sparc/lib/rwsem.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/lib/rwsem.S b/arch/sparc/lib/rwsem.S
index 2065774..f406b1f 100644
--- a/arch/sparc/lib/rwsem.S
+++ b/arch/sparc/lib/rwsem.S
@@ -7,7 +7,7 @@
#include <asm/ptrace.h>
#include <asm/psr.h>
- .section .sched.text
+ .section .sched.text, "ax"
.align 4
.globl ___down_read
OpenPOWER on IntegriCloud