mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 20:56:23 +00:00
[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 <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
13f09b95a8
commit
c6d64c16bb
2 changed files with 2 additions and 2 deletions
|
@ -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 @@
|
||||||
|
|
||||||
#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:
|
||||||
|
|
Loading…
Reference in a new issue