c79a61f557
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> |
||
---|---|---|
.. | ||
a.out-core.h | ||
apic.h | ||
auxvec.h | ||
bugs.h | ||
cache.h | ||
checksum.h | ||
common.lds.S | ||
cputime.h | ||
current.h | ||
delay.h | ||
desc.h | ||
device.h | ||
dma-mapping.h | ||
dma.h | ||
emergency-restart.h | ||
fixmap.h | ||
ftrace.h | ||
futex.h | ||
hardirq.h | ||
hw_irq.h | ||
io.h | ||
irq_regs.h | ||
irq_vectors.h | ||
irq.h | ||
irqflags.h | ||
kdebug.h | ||
kmap_types.h | ||
mmu_context.h | ||
mmu.h | ||
mutex.h | ||
page_offset.h | ||
page.h | ||
param.h | ||
pci.h | ||
pda.h | ||
pgalloc.h | ||
pgtable-2level.h | ||
pgtable-3level.h | ||
pgtable.h | ||
processor-generic.h | ||
ptrace-generic.h | ||
required-features.h | ||
sections.h | ||
segment.h | ||
setup.h | ||
smp.h | ||
suspend.h | ||
system.h | ||
thread_info.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
topology.h | ||
uaccess.h | ||
xor.h |