diff options
author | Christoph Lameter <cl@linux.com> | 2014-08-17 13:30:27 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-08-26 13:45:45 -0400 |
commit | 4a32fea9d78f2d2315c0072757b197d5a304dc8b (patch) | |
tree | 6cb53d3bb67bed81671ff9ff38d2f48d118a2345 /kernel/taskstats.c | |
parent | dc5df73b3afffc8d042dadffc1c959008b2c1163 (diff) |
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>
Diffstat (limited to 'kernel/taskstats.c')
-rw-r--r-- | kernel/taskstats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/taskstats.c b/kernel/taskstats.c index 13d2f7cd65db..b312fcc73024 100644 --- a/kernel/taskstats.c +++ b/kernel/taskstats.c | |||
@@ -638,7 +638,7 @@ void taskstats_exit(struct task_struct *tsk, int group_dead) | |||
638 | fill_tgid_exit(tsk); | 638 | fill_tgid_exit(tsk); |
639 | } | 639 | } |
640 | 640 | ||
641 | listeners = __this_cpu_ptr(&listener_array); | 641 | listeners = raw_cpu_ptr(&listener_array); |
642 | if (list_empty(&listeners->list)) | 642 | if (list_empty(&listeners->list)) |
643 | return; | 643 | return; |
644 | 644 | ||