summaryrefslogtreecommitdiffstats
path: root/kernel/time
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2014-10-27 16:49:45 +0100
committerTejun Heo <tj@kernel.org>2014-10-29 16:18:18 +0100
commit56e4dea81a55c338eede625f715c7fa21f1a28c4 (patch)
tree9d2ef7f447aa3a811fc77e84c506341e5469b087 /kernel/time
parentpercpu: off by one in BUG_ON() (diff)
downloadlinux-56e4dea81a55c338eede625f715c7fa21f1a28c4.tar.xz
linux-56e4dea81a55c338eede625f715c7fa21f1a28c4.zip
percpu: Convert remaining __get_cpu_var uses in 3.18-rcX
During the 3.18 merge period additional __get_cpu_var uses were added. The patch converts these to this_cpu_ptr(). Signed-off-by: Christoph Lameter <cl@linux.com> Acked-by: Will Deacon <will.deacon@arm.com> Acked-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/time')
-rw-r--r--kernel/time/tick-sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index 7b5741fc4110..b1c6a512cdd0 100644
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -235,7 +235,7 @@ void tick_nohz_full_kick(void)
if (!tick_nohz_full_cpu(smp_processor_id()))
return;
- irq_work_queue(&__get_cpu_var(nohz_full_kick_work));
+ irq_work_queue(this_cpu_ptr(&nohz_full_kick_work));
}
/*