linux/arch/blackfin
AKASHI Takahiro eed542d696 ftrace: Make CALLER_ADDRx macros more generic
Most archs with HAVE_ARCH_CALLER_ADDR have pretty much the same
definitions of CALLER_ADDRx(n). Instead of duplicating the code for all
the archs, define a ftrace_return_address0() and
ftrace_return_address(n) that can be overwritten by the archs if they
need to do something different. Instead of 7 macros in every arch, we
now only have at most 2 (and actually only 1 as
ftrace_return_address0() should be the same for all archs).

The CALLER_ADDRx(n) will now be defined in linux/ftrace.h and use the
ftrace_return_address*(n?) macros. This removes a lot of the duplicate
code.

Link: http://lkml.kernel.org/p/1400585464-30333-1-git-send-email-takahiro.akashi@linaro.org

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2014-05-21 03:10:32 -04:00
..
boot blackfin: Ignore generated uImages 2013-09-13 10:42:39 +08:00
configs From: Eunbong Song <eunb.song@samsung.com> 2014-01-29 15:14:56 +08:00
include ftrace: Make CALLER_ADDRx macros more generic 2014-05-21 03:10:32 -04:00
kernel blackfin updates for Linux 3.15 2014-04-12 17:26:45 -07:00
lib blackfin: license: Change ADI BSD license 2012-05-21 14:54:30 +08:00
mach-bf518 blackfin: cleanup board files 2014-04-12 08:48:01 +08:00
mach-bf527 blackfin: cleanup board files 2014-04-12 08:48:01 +08:00
mach-bf533 blackfin: cleanup board files 2014-04-12 08:48:01 +08:00
mach-bf537 blackfin: cleanup board files 2014-04-12 08:48:01 +08:00
mach-bf538 blackfin: cleanup board files 2014-04-12 08:48:01 +08:00
mach-bf548 blackfin: cleanup board files 2014-04-12 08:48:01 +08:00
mach-bf561 blackfin: cleanup board files 2014-04-12 08:48:01 +08:00
mach-bf609 blackfin: cleanup board files 2014-04-12 08:48:01 +08:00
mach-common blackfin: Support L1 SRAM parity checking feature on bf60x 2014-01-29 15:12:20 +08:00
mm mm/blackfin: prepare for removing num_physpages and simplify mem_init() 2013-07-03 16:07:35 -07:00
oprofile
Clear_BSD.txt blackfin: license: Change ADI BSD license 2012-05-21 14:54:30 +08:00
Kconfig Blackfin: remove "config IP_CHECKSUM_L1" 2014-04-11 23:41:52 +08:00
Kconfig.debug consolidate per-arch stack overflow debugging options 2013-07-04 11:25:39 -07:00
Makefile blackfin: rename vmImage to uImage after we move to buildroot 2013-05-07 18:26:39 +08:00