diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-01-29 00:06:23 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-31 22:32:43 -0500 |
commit | c6d64c16bb193c8ca2ccc0b3c556a4574a02408b (patch) | |
tree | 4cf593f98f0ac457c43e9e6513aca71eb6b11109 /arch | |
parent | 13f09b95a82c46ed608d057b22e0dd18ebfff22a (diff) |
[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')
-rw-r--r-- | arch/sparc/lib/rwsem.S | 2 | ||||
-rw-r--r-- | arch/sparc64/lib/rwsem.S | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/lib/rwsem.S b/arch/sparc/lib/rwsem.S index 20657744c864..f406b1f22791 100644 --- a/arch/sparc/lib/rwsem.S +++ b/arch/sparc/lib/rwsem.S | |||
@@ -7,7 +7,7 @@ | |||
7 | #include <asm/ptrace.h> | 7 | #include <asm/ptrace.h> |
8 | #include <asm/psr.h> | 8 | #include <asm/psr.h> |
9 | 9 | ||
10 | .section .sched.text | 10 | .section .sched.text, "ax" |
11 | .align 4 | 11 | .align 4 |
12 | 12 | ||
13 | .globl ___down_read | 13 | .globl ___down_read |
diff --git a/arch/sparc64/lib/rwsem.S b/arch/sparc64/lib/rwsem.S index 75f0e6b951d6..1a4cc5654de4 100644 --- a/arch/sparc64/lib/rwsem.S +++ b/arch/sparc64/lib/rwsem.S | |||
@@ -6,7 +6,7 @@ | |||
6 | 6 | ||
7 | #include <asm/rwsem-const.h> | 7 | #include <asm/rwsem-const.h> |
8 | 8 | ||
9 | .section .sched.text | 9 | .section .sched.text, "ax" |
10 | 10 | ||
11 | .globl __down_read | 11 | .globl __down_read |
12 | __down_read: | 12 | __down_read: |