Merge tag 'iwlwifi-for-kalle-2015-01-15' of https://git.kernel.org/pub/scm/linux...
[cascardo/linux.git] / drivers / clocksource / metag_generic.c
index 9e4db41..b7384b8 100644 (file)
@@ -90,7 +90,7 @@ static struct clocksource clocksource_metag = {
 
 static irqreturn_t metag_timer_interrupt(int irq, void *dummy)
 {
-       struct clock_event_device *evt = &__get_cpu_var(local_clockevent);
+       struct clock_event_device *evt = this_cpu_ptr(&local_clockevent);
 
        evt->event_handler(evt);