Blackfin: add CALLER_ADDR ftrace macros
authorYi Li <yi.li@analog.com>
Tue, 26 Jan 2010 04:02:44 +0000 (04:02 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 9 Mar 2010 05:30:50 +0000 (00:30 -0500)
commit7136d9c5e874813ccbd1d438924c413b7305944c
treeace35ccc968c92a21839a33f1a749f3e3812bc38
parent652afdc3403cbccb93c7e6db582a1204a9e5e90a
Blackfin: add CALLER_ADDR ftrace macros

Since GCC doesn't support __builtin_frame_address(n) where n!=0, add our
own function to walk the stack frame pointers.

Signed-off-by: Yi Li <yi.li@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/ftrace.h