aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2015-06-11 14:46:38 +0200
committerThomas Gleixner <[email protected]>2015-06-19 00:25:26 +0200
commitdbc7f069b93a249340e974d6e8f55656280d8701 (patch)
treece9c0ee808216725c2a301ccb0a9bee052f9e7f5 /scripts/gdb/linux/utils.py
parente3fca9e7cbfb72694a21c886fcdf9f059cfded9c (diff)
sched: Use replace normalize_task() with __sched_setscheduler()
Reduce duplicate logic; normalize_task() is a simplified version of __sched_setscheduler(). Parametrize the difference and collapse. This reduces the amount of check_class_changed() sites. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions