[PATCH 25/25] sched/vtime: Clarify vtime_task_switch() argument layout

2018-11-13 Thread Frederic Weisbecker
This function deals with the previous and next tasks during a context switch. But only the previous is passed as an argument, the next task being deduced from current. Make the code clearer by passing both previous and next as arguments. Signed-off-by: Frederic Weisbecker Cc: Yauheni Kaliuta

[PATCH 25/25] sched/vtime: Clarify vtime_task_switch() argument layout

2018-11-13 Thread Frederic Weisbecker
This function deals with the previous and next tasks during a context switch. But only the previous is passed as an argument, the next task being deduced from current. Make the code clearer by passing both previous and next as arguments. Signed-off-by: Frederic Weisbecker Cc: Yauheni Kaliuta