From: David Miller Date: Fri, 15 Feb 2008 10:05:53 +0000 (-0800) Subject: SPARC/SPARC64: Fix usage of .section .sched.text in assembler code. X-Git-Tag: v2.6.24.3~36 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9884948ab9d3ff59a1d77fd24c2d93af7686225f;p=karo-tx-linux.git SPARC/SPARC64: Fix usage of .section .sched.text in assembler code. [SPARC/SPARC64]: Fix usage of .section .sched.text in assembler code. Upstream commit: c6d64c16bb193c8ca2ccc0b3c556a4574a02408b 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 Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- 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 @@ #include #include - .section .sched.text + .section .sched.text, "ax" .align 4 .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 @@ #include - .section .sched.text + .section .sched.text, "ax" .globl __down_read __down_read: