|
@@ -25,12 +25,16 @@
|
|
#define MCOUNT_OFFSET_INSNS 4
|
|
#define MCOUNT_OFFSET_INSNS 4
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+#ifdef CONFIG_DYNAMIC_FTRACE
|
|
|
|
+
|
|
/* Arch override because MIPS doesn't need to run this from stop_machine() */
|
|
/* Arch override because MIPS doesn't need to run this from stop_machine() */
|
|
void arch_ftrace_update_code(int command)
|
|
void arch_ftrace_update_code(int command)
|
|
{
|
|
{
|
|
ftrace_modify_all_code(command);
|
|
ftrace_modify_all_code(command);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#endif
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* Check if the address is in kernel space
|
|
* Check if the address is in kernel space
|
|
*
|
|
*
|