/* task_curr - is this task currently executing on a CPU?  */
int task_curr(const struct task_struct *p)
/* task_curr - is this task currently executing on a CPU?  */
int task_curr(const struct task_struct *p)
{
	return cpu_curr(task_cpu(p)) == p;
}