]> 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>
Thu, 28 Jul 2011 15:21:43 +0000 (16:21 +0100)
commitba501ec7bc556c0ba02becd47d6028b675ea7e71
tree11b2a8d36e561cf87f45aac7ffbddc8b15b841b9
parent0e71b03b9ba369ea76b1b1426f3aa8a8bdbbe905
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