projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bac524d
)
ftrace: fix wakeup callback
author
Peter Zijlstra
<a.p.zijlstra@chello.nl>
Mon, 12 May 2008 19:20:53 +0000
(21:20 +0200)
committer
Thomas Gleixner
<tglx@linutronix.de>
Fri, 23 May 2008 19:09:02 +0000
(21:09 +0200)
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/sched.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched.c
b/kernel/sched.c
index 3bc7c536299841abd0892dbfd587cc8acd63a804..1ec3fb2efee6d6bcccb72cc292a59e0b82ba959c 100644
(file)
--- a/
kernel/sched.c
+++ b/
kernel/sched.c
@@
-2533,7
+2533,6
@@
static int try_to_wake_up(struct task_struct *p, unsigned int state, int sync)
out_activate:
#endif /* CONFIG_SMP */
- ftrace_wake_up_task(rq, p, rq->curr);
schedstat_inc(p, se.nr_wakeups);
if (sync)
schedstat_inc(p, se.nr_wakeups_sync);
@@
-2548,6
+2547,7
@@
out_activate:
success = 1;
out_running:
+ ftrace_wake_up_task(rq, p, rq->curr);
check_preempt_curr(rq, p);
p->state = TASK_RUNNING;