From: Russell King Date: Sun, 18 Sep 2005 20:49:29 +0000 (+0100) Subject: [ARM] Fix warning in arch/arm/kernel/semaphore.c X-Git-Tag: v2.6.14-rc2~5^2^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=63150fcf73dbfb752a850a5e2fe3aed570154433;p=platform%2Fkernel%2Flinux-3.10.git [ARM] Fix warning in arch/arm/kernel/semaphore.c 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 --- diff --git a/arch/arm/kernel/semaphore.c b/arch/arm/kernel/semaphore.c index ac423e3..4c31f29 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,\"ax\" \n\ +asm(" .section .sched.text,\"ax\",%progbits \n\ .align 5 \n\ .globl __down_failed \n\ __down_failed: \n\