OSDN Git Service

ARM: 6315/1: ftrace: add ENDPROC annotations
authorRabin Vincent <rabin@rab.in>
Tue, 10 Aug 2010 18:33:52 +0000 (19:33 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 2 Sep 2010 14:25:27 +0000 (15:25 +0100)
commit72fa62fa5dff0e2e06491dd99c429adb137f299b
treeca0eb9c5bbf0dfb69e21a04211416e308729fab1
parent09bfafac3e237415cc4b6adde49f9f28b3a42659
ARM: 6315/1: ftrace: add ENDPROC annotations

When building as Thumb-2, the ".type foo, %function" annotation in
ENDPROC seems to be required in order for the assembly routines to be
recognized as Thumb-2 code.  If the ENDPROC annotations are not present,
calls to these routines are generated as BLX instead of BL.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/entry-common.S