diff options
author | Tejun Heo <tj@kernel.org> | 2009-12-03 07:08:03 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-06-08 21:40:36 +0200 |
commit | 9ed3811a6c0d6b66e6cd47a5d7b9136386dce743 (patch) | |
tree | 6a1e92b3e51978c7e32f1afdf98b1966a3d65818 /crypto/twofish.c | |
parent | sched: adjust when cpu_active and cpuset configurations are updated during cp... (diff) | |
download | linux-9ed3811a6c0d6b66e6cd47a5d7b9136386dce743.tar.xz linux-9ed3811a6c0d6b66e6cd47a5d7b9136386dce743.zip |
sched: refactor try_to_wake_up()
Factor ttwu_activate() and ttwu_woken_up() out of try_to_wake_up().
The factoring out doesn't affect try_to_wake_up() much
code-generation-wise. Depending on configuration options, it ends up
generating the same object code as before or slightly different one
due to different register assignment.
This is to help future implementation of try_to_wake_up_local().
Mike Galbraith suggested rename to ttwu_post_activation() from
ttwu_woken_up() and comment update in try_to_wake_up().
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'crypto/twofish.c')
0 files changed, 0 insertions, 0 deletions