]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Ftrace: Fix the CONFIG_DYNAMIC_FTRACE=n compile
authorThomas Gleixner <tglx@linutronix.de>
Sat, 23 Jul 2011 12:41:23 +0000 (12:41 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 17 Sep 2011 00:42:24 +0000 (02:42 +0200)
commit012bff24c601906000b9f1ca83660daa5965c2c4
tree0adfb1d4098d0f21d61402e0128d21e426cf7433
parent07da0ec0f3122b05c677782a97077636b8776297
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