]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: ftrace: Fix the CONFIG_DYNAMIC_FTRACE=n compile
authorThomas Gleixner <tglx@linutronix.de>
Thu, 28 Jul 2011 15:21:43 +0000 (16:21 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 9 Aug 2011 08:16:24 +0000 (09:16 +0100)
commit2414ce3a28c092bf2a7eb99e99856c5e51913929
tree072552b232fc23444e5447c84c29eecf4b595dd8
parent4c8bc8db1da0119dd16f97886f51cb121765b01d
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