linux/include
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
..
acpi
asm-generic - vexpress platform clocks initialisation moved earlier following the 2014-05-04 14:34:50 -07:00
clocksource
crypto
drm Merge branch 'mullins' of git://people.freedesktop.org/~deathsimple/linux into drm-fixes 2014-05-07 09:10:28 +10:00
dt-bindings dt: tegra: remove non-existent clock IDs 2014-04-24 15:37:08 +02:00
keys
kvm
linux ftrace: Make CALLER_ADDRx macros more generic 2014-05-21 03:10:32 -04:00
math-emu
media
memory
misc
net vsock: Make transport the proto owner 2014-05-05 13:13:50 -04:00
pcmcia
ras
rdma
rxrpc
scsi
sound
target
trace This contains two fixes. 2014-05-08 14:17:13 -07:00
uapi fuse: add renameat2 support 2014-04-28 16:43:44 +02:00
video
xen
Kbuild