diff options
author | Christoph Lameter <cl@linux.com> | 2014-08-17 13:30:31 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-08-26 13:45:46 -0400 |
commit | 879d92745a1a5a6573dee83cfa2953413fed23fc (patch) | |
tree | 3385792ec352da39955b75af7a7ed9636a6a4df8 /drivers/oprofile/timer_int.c | |
parent | 229b6863b2cf9514f08e468fea586bc195ebcf50 (diff) |
drivers/oprofile: Replace __get_cpu_var uses for address calculation
Replace the uses of __get_cpu_var for address calculation with this_cpu_ptr.
Cc: Robert Richter <rric@kernel.org>
Cc: oprofile-list@lists.sf.net
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/oprofile/timer_int.c')
-rw-r--r-- | drivers/oprofile/timer_int.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/oprofile/timer_int.c b/drivers/oprofile/timer_int.c index 61be1d9c16c8..bdef916e5dda 100644 --- a/drivers/oprofile/timer_int.c +++ b/drivers/oprofile/timer_int.c | |||
@@ -32,7 +32,7 @@ static enum hrtimer_restart oprofile_hrtimer_notify(struct hrtimer *hrtimer) | |||
32 | 32 | ||
33 | static void __oprofile_hrtimer_start(void *unused) | 33 | static void __oprofile_hrtimer_start(void *unused) |
34 | { | 34 | { |
35 | struct hrtimer *hrtimer = &__get_cpu_var(oprofile_hrtimer); | 35 | struct hrtimer *hrtimer = this_cpu_ptr(&oprofile_hrtimer); |
36 | 36 | ||
37 | if (!ctr_running) | 37 | if (!ctr_running) |
38 | return; | 38 | return; |