MIPS: Ftrace: Fix the CONFIG_DYNAMIC_FTRACE=n compile
commit49de830ad7b94d05f6dbfbae97a03f80169a7462
authorThomas Gleixner <tglx@linutronix.de>
Sat, 23 Jul 2011 12:41:23 +0000 (23 12:41 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 21 Sep 2011 15:52:04 +0000 (21 17:52 +0200)
tree1147ea12f6a7bfd0ba2c12e57fe5c6948f506823
parent20ef5d3a23d5aacb85d0a2808d949e3daf83cd20
MIPS: Ftrace: Fix the CONFIG_DYNAMIC_FTRACE=n compile

arch/mips/kernel/ftrace.c: In function ‘ftrace_get_parent_ra_addr’:
arch/mips/kernel/ftrace.c:212: error: implicit declaration of function ‘in_kernel_space’
arch/mips/kernel/ftrace.c: In function ‘prepare_ftrace_return’:
arch/mips/kernel/ftrace.c:314: error: ‘MCOUNT_OFFSET_INSNS’ undeclared (first use in this function)
arch/mips/kernel/ftrace.c:314: error: (Each undeclared identifier is reported only once
arch/mips/kernel/ftrace.c:314: error: for each function it appears in.)

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2634/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/ftrace.c