scheduler: Replace __get_cpu_var with this_cpu_ptr
Convert all uses of __get_cpu_var for address calculation to use this_cpu_ptr instead. [Uses of __get_cpu_var with cpumask_var_t are no longer handled by this patch] Cc: Peter Zijlstra <peterz@infradead.org> Acked-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:

committed by
Tejun Heo

parent
dc5df73b3a
commit
4a32fea9d7
@@ -638,7 +638,7 @@ void taskstats_exit(struct task_struct *tsk, int group_dead)
|
||||
fill_tgid_exit(tsk);
|
||||
}
|
||||
|
||||
listeners = __this_cpu_ptr(&listener_array);
|
||||
listeners = raw_cpu_ptr(&listener_array);
|
||||
if (list_empty(&listeners->list))
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user