|
@@ -4372,14 +4372,11 @@ void __init ftrace_init(void)
|
|
|
{
|
|
|
extern unsigned long __start_mcount_loc[];
|
|
|
extern unsigned long __stop_mcount_loc[];
|
|
|
- unsigned long count, addr, flags;
|
|
|
+ unsigned long count, flags;
|
|
|
int ret;
|
|
|
|
|
|
- /* Keep the ftrace pointer to the stub */
|
|
|
- addr = (unsigned long)ftrace_stub;
|
|
|
-
|
|
|
local_irq_save(flags);
|
|
|
- ret = ftrace_dyn_arch_init(&addr);
|
|
|
+ ret = ftrace_dyn_arch_init();
|
|
|
local_irq_restore(flags);
|
|
|
if (ret)
|
|
|
goto failed;
|