arm64: ftrace: Add CALLER_ADDRx macros
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Wed, 30 Apr 2014 09:54:35 +0000 (18:54 +0900)
committerMark Brown <broonie@linaro.org>
Fri, 30 May 2014 17:15:43 +0000 (18:15 +0100)
commitea76465b82b819230ab16ab8ab1b460c09ed5b3b
treed4029aaa5abba2b01ddd6f5130e9589a71ad4625
parent95d7e5533398803e3ced340771cb3461c9443407
arm64: ftrace: Add CALLER_ADDRx macros

CALLER_ADDRx returns caller's address at specified level in call stacks.
They are used for several tracers like irqsoff and preemptoff.
Strange to say, however, they are refered even without FTRACE.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/include/asm/ftrace.h
arch/arm64/kernel/Makefile
arch/arm64/kernel/return_address.c [new file with mode: 0644]