Commit c6d64c16 authored by Sam Ravnborg's avatar Sam Ravnborg Committed by David S. Miller

[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: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 13f09b95
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include <asm/psr.h> #include <asm/psr.h>
.section .sched.text .section .sched.text, "ax"
.align 4 .align 4
.globl ___down_read .globl ___down_read
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include <asm/rwsem-const.h> #include <asm/rwsem-const.h>
.section .sched.text .section .sched.text, "ax"
.globl __down_read .globl __down_read
__down_read: __down_read:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment