Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106798
b: refs/heads/master
c: 784e2d7
h: refs/heads/master
v: v3
  • Loading branch information
Rusty Russell committed Jul 28, 2008
1 parent e886303 commit 2f79f74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9b1a4d38373a5581a4e01032a3ccdd94cd93477b
refs/heads/master: 784e2d76007f90d69341b95967160c4fb7829299
6 changes: 3 additions & 3 deletions trunk/kernel/trace/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ static int __ftrace_modify_code(void *data)

static void ftrace_run_update_code(int command)
{
stop_machine_run(__ftrace_modify_code, &command, NR_CPUS);
stop_machine(__ftrace_modify_code, &command, NULL);
}

void ftrace_disable_daemon(void)
Expand Down Expand Up @@ -787,7 +787,7 @@ static int ftrace_update_code(void)
!ftrace_enabled || !ftraced_trigger)
return 0;

stop_machine_run(__ftrace_update_code, NULL, NR_CPUS);
stop_machine(__ftrace_update_code, NULL, NULL);

return 1;
}
Expand Down Expand Up @@ -1564,7 +1564,7 @@ static int __init ftrace_dynamic_init(void)

addr = (unsigned long)ftrace_record_ip;

stop_machine_run(ftrace_dyn_arch_init, &addr, NR_CPUS);
stop_machine(ftrace_dyn_arch_init, &addr, NULL);

/* ftrace_dyn_arch_init places the return code in addr */
if (addr) {
Expand Down

0 comments on commit 2f79f74

Please sign in to comment.