mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
sched: Remove finish_arch_switch()
One less arch hook.. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
fe363adb92
commit
3c8e479355
2 changed files with 0 additions and 4 deletions
|
|
@ -2470,7 +2470,6 @@ static struct rq *finish_task_switch(struct task_struct *prev)
|
|||
*/
|
||||
prev_state = prev->state;
|
||||
vtime_task_switch(prev);
|
||||
finish_arch_switch(prev);
|
||||
perf_event_task_sched_in(prev, current);
|
||||
finish_lock_switch(rq, prev);
|
||||
finish_arch_post_lock_switch();
|
||||
|
|
|
|||
|
|
@ -1055,9 +1055,6 @@ static inline int task_on_rq_migrating(struct task_struct *p)
|
|||
#ifndef prepare_arch_switch
|
||||
# define prepare_arch_switch(next) do { } while (0)
|
||||
#endif
|
||||
#ifndef finish_arch_switch
|
||||
# define finish_arch_switch(prev) do { } while (0)
|
||||
#endif
|
||||
#ifndef finish_arch_post_lock_switch
|
||||
# define finish_arch_post_lock_switch() do { } while (0)
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue