commit 9884948ab9d3ff59a1d77fd24c2d93af7686225f
Author: David Miller <[EMAIL PROTECTED]>
Date:   Fri Feb 15 02:05:53 2008 -0800

    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 <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>

diff --git a/arch/sparc/lib/rwsem.S b/arch/sparc/lib/rwsem.S
index 2065774..f406b1f 100644
--- a/arch/sparc/lib/rwsem.S
+++ b/arch/sparc/lib/rwsem.S
@@ -7,7 +7,7 @@
 #include <asm/ptrace.h>
 #include <asm/psr.h>
 
-       .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 75f0e6b..1a4cc56 100644
--- a/arch/sparc64/lib/rwsem.S
+++ b/arch/sparc64/lib/rwsem.S
@@ -6,7 +6,7 @@
 
 #include <asm/rwsem-const.h>
 
-       .section        .sched.text
+       .section        .sched.text, "ax"
 
        .globl          __down_read
 __down_read:
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to