sh: Provide CALLER_ADDRx definitions even when ftrace is disabled.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 14 Oct 2009 02:49:49 +0000 (11:49 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 14 Oct 2009 02:49:49 +0000 (11:49 +0900)
commit36c871992697eaaf88a3682c2c3003a41c54b8c0
treeff0206598be247ad883b411819db8c6decc5c5dc
parente4b053d96ae4e23e7023eb9f591bd7fc5c9c8cb9
sh: Provide CALLER_ADDRx definitions even when ftrace is disabled.

Despite being located in the ftrace header, the CALLER_ADDRx definitions
are used by generic code. As such, we have to provide it generically, and
given that there is no real dependence on ftrace in the first place, the
definitions can just be moved out.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/ftrace.h