Skip to content

Commit

Permalink
[SPARC/SPARC64]: Fix usage of .section .sched.text in assembler code.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sam Ravnborg authored and David S. Miller committed Feb 1, 2008
1 parent 13f09b9 commit c6d64c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/sparc/lib/rwsem.S
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <asm/ptrace.h>
#include <asm/psr.h>

.section .sched.text
.section .sched.text, "ax"
.align 4

.globl ___down_read
Expand Down
2 changes: 1 addition & 1 deletion arch/sparc64/lib/rwsem.S
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include <asm/rwsem-const.h>

.section .sched.text
.section .sched.text, "ax"

.globl __down_read
__down_read:
Expand Down

0 comments on commit c6d64c1

Please sign in to comment.