From: Sam Ravnborg Date: Tue, 29 Jan 2008 05:06:23 +0000 (-0800) Subject: [SPARC/SPARC64]: Fix usage of .section .sched.text in assembler code. X-Git-Tag: v2.6.25-rc1~1088^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c6d64c16bb193c8ca2ccc0b3c556a4574a02408b;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: David S. Miller --- diff --git a/arch/sparc/lib/rwsem.S b/arch/sparc/lib/rwsem.S index 20657744c86..f406b1f2279 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 75f0e6b951d..1a4cc5654de 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: