]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: ftrace: Add missing CONFIG_DYNAMIC_FTRACE
authorMarkos Chandras <markos.chandras@imgtec.com>
Mon, 10 Jun 2013 10:35:26 +0000 (10:35 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 10 Jun 2013 16:15:18 +0000 (18:15 +0200)
commit207247e6579ea10fb491394273d279bdadb4013e
treec2d858800c62a3bad1a1f7feadf614b1842f61b0
parent9500359957d633032b39021fc97ff76e6cbae4d9
MIPS: ftrace: Add missing CONFIG_DYNAMIC_FTRACE

arch_ftrace_update_code and ftrace_modify_all_code are only
available if CONFIG_DYNAMIC_FTRACE is selected.

Fixes the following build problem on MIPS randconfig:

arch/mips/kernel/ftrace.c: In function 'arch_ftrace_update_code':
arch/mips/kernel/ftrace.c:31:2: error: implicit declaration of function
'ftrace_modify_all_code' [-Werror=implicit-function-declaration]

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Acked-by: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5435/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/ftrace.c