projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0a2008
)
[ARM] Fix warning in arch/arm/kernel/semaphore.c
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Sun, 18 Sep 2005 20:49:29 +0000
(21:49 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sun, 18 Sep 2005 20:49:29 +0000
(21:49 +0100)
Newer binutils complains:
/tmp/cc07pbI9.s:146: Warning: ignoring changed section type for .sched.text
Fix this warning by adding %progbits to the .section.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/semaphore.c
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/semaphore.c
b/arch/arm/kernel/semaphore.c
index ac423e3e224be9d27b5a5dba934f0bb60450a82d..4c31f292305563bbf5199460a75df12f6475c5f9 100644
(file)
--- 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,\"ax\"
\n\
+asm(" .section .sched.text,\"ax\"
,%progbits
\n\
.align 5 \n\
.globl __down_failed \n\
__down_failed: \n\