ARM: 6319/1: ftrace: add Thumb-2 support to dynamic ftrace
authorRabin Vincent <rabin@rab.in>
Tue, 10 Aug 2010 18:52:35 +0000 (19:52 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 2 Sep 2010 14:28:43 +0000 (15:28 +0100)
commit72dc43a9eb123d2742bd413c80dbeab0c588f622
treed4a020340a00fc00497aedef1fcd8c6bd8abaad7
parent3b6c223b1b97ad60bbb0f4efda57d649414ac2a2
ARM: 6319/1: ftrace: add Thumb-2 support to dynamic ftrace

Handle the different nop and call instructions for Thumb-2.  Also, we
need to adjust the recorded mcount_loc addresses because they have the
lsb set.

Cc: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org> [recordmcount.pl change]
Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/ftrace.h
arch/arm/kernel/ftrace.c
scripts/recordmcount.pl