This website requires JavaScript.
Explore
Help
Sign In
p71924506
/
linux_old1
Watch
1
Star
0
Fork
You've already forked linux_old1
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
eb7371d4fd
linux_old1
/
arch
/
xtensa
/
include
/
asm
/
ftrace.h
2 lines
12 B
C
Raw
Normal View
History
Unescape
Escape
tracing: make CALLER_ADDRx overwriteable The current definition of CALLER_ADDRx isn't suitable for all platforms. E.g. for ARM __builtin_return_address(N) doesn't work for N > 0 and AFAIK for powerpc there are no frame pointers needed to have a working __builtin_return_address. This patch allows defining the CALLER_ADDRx macros in <asm/ftrace.h> and let these take precedence. Because now <asm/ftrace.h> is included unconditionally in <linux/ftrace.h> all archs that don't already had this include get an empty one for free. Signed-off-by: Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Ingo Molnar <mingo@elte.hu> Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Steven Rostedt <srostedt@redhat.com>
2009-02-28 04:30:03 +08:00
/* empty */