/* prepare_task_switch sets up locking and calls architecture specific hooks.  */
static void prepare_task_switch(struct rq *rq, struct task_struct *prev, struct task_struct *next)
/* prepare_task_switch sets up locking and calls architecture specific hooks.  */
static void prepare_task_switch(struct rq *rq, struct task_struct *prev, struct task_struct *next)
{
	fire_sched_out_preempt_notifiers(prev, next);
	prepare_lock_switch(rq, next);
	prepare_arch_switch(next);
}