fix usage of .section .sched.text in assembler code
PATCH 1/1 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 misisng annotation.
Signed-off-by Sam Ravnborg <[email protected]>
Cc Ingo Molnar <[email protected]>
--- arch/sparc/lib/rwsem.S | 2 +- arch/sparc64/lib/rwsem.S | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/sparc/lib/rwsem.S +1 -1
@@ -7,7 +7,7 @@ #include <asm/ptrace.h> #include <asm/psr.h> - .section .sched.text + .section .sched.text, "ax" .align 4 .globl ___down_read
arch/sparc64/lib/rwsem.S +1 -1
@@ -6,7 +6,7 @@ #include <asm/rwsem-const.h> - .section .sched.text + .section .sched.text, "ax" .globl __down_read __down_read:
Signature · 1 line
1.5.4.rc3.14.g44397
From: Sam Ravnborg <[email protected]>
Date: Sat, 26 Jan 2008 23:54:39 +0100
Quoted 5 lines
ld will generate an unique named section when assembler do not use "ax" but gcc does. Add the misisng annotation.
Signed-off-by Sam Ravnborg <[email protected]>Cc Ingo Molnar <[email protected]>
Applied, thanks Sam.