[ARM] support tracing when using newer compilers
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 13 Aug 2009 18:38:16 +0000 (20:38 +0200)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 13 Aug 2009 18:34:36 +0000 (20:34 +0200)
commit181f817eaaca4c1f8a9c265d339d2b96de8b245d
tree44572f3be32f89ee7afbf4495fae12ad234ab6ae
parentb88fb83b138d4a377abea9461b2d58b9bf8ad9fe
[ARM] support tracing when using newer compilers

Since gcc 4.4 the name and calling convention for function profiling
on ARM changed.  With this patch both types are supported.

See http://sourceware.org/ml/libc-ports/2008-04/msg00009.html for some
details.

Lightly-Tested-by: Anand Gadiyar <gadiyar@ti.com>
Tested-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
arch/arm/include/asm/ftrace.h
arch/arm/kernel/armksyms.c
arch/arm/kernel/entry-common.S