aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@com.rmk.(none)>2005-01-12 15:19:25 +0000
committerRussell King <rmk@flint.arm.linux.org.uk>2005-01-12 15:19:25 +0000
commitf09b9fa547d041cfe8a5655e079f5607c551d7ac (patch)
tree244953d4a0a88fe02f83899189fd903ec8bf2c9f /arch
parentd56169c76f3692896274e56c3a090015e304c1ec (diff)
downloadhistory-f09b9fa547d041cfe8a5655e079f5607c551d7ac.tar.gz
[ARM PATCH] 2389/1: semaphore.c warning fixed
Patch from Catalin Marinas The patch adds the "ax" attributes to the .sched.text section to avoid a compiler warning. Signed-off-by: Catalin Marinas Signed-off-by: Russell King
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/kernel/semaphore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/semaphore.c b/arch/arm/kernel/semaphore.c
index c232d37772ded2..02cc6793417fac 100644
--- a/arch/arm/kernel/semaphore.c
+++ b/arch/arm/kernel/semaphore.c
@@ -178,7 +178,7 @@ int __down_trylock(struct semaphore * sem)
* registers (r0 to r3 and lr), but not ip, as we use it as a return
* value in some cases..
*/
-asm(" .section .sched.text \n\
+asm(" .section .sched.text,\"ax\" \n\
.align 5 \n\
.globl __down_failed \n\
__down_failed: \n\