projects
/
linux-flexiantxendom0-natty.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ftrace: Fix memory leak with function graph and cpu hotplug
[linux-flexiantxendom0-natty.git]
/
kernel
/
sched.c
diff --git
a/kernel/sched.c
b/kernel/sched.c
index
42eab5a
..
c164920
100644
(file)
--- a/
kernel/sched.c
+++ b/
kernel/sched.c
@@
-5572,7
+5572,7
@@
void __cpuinit init_idle(struct task_struct *idle, int cpu)
* The idle tasks have their own, simple scheduling class:
*/
idle->sched_class = &idle_sched_class;
- ftrace_graph_init_task(idle);
+ ftrace_graph_init_idle_task(idle, cpu);
}
/*