drivers/oprofile: Replace __get_cpu_var uses for address calculation
[pandora-kernel.git] / drivers / oprofile / timer_int.c
index 61be1d9..bdef916 100644 (file)
@@ -32,7 +32,7 @@ static enum hrtimer_restart oprofile_hrtimer_notify(struct hrtimer *hrtimer)
 
 static void __oprofile_hrtimer_start(void *unused)
 {
-       struct hrtimer *hrtimer = &__get_cpu_var(oprofile_hrtimer);
+       struct hrtimer *hrtimer = this_cpu_ptr(&oprofile_hrtimer);
 
        if (!ctr_running)
                return;