diff options
Diffstat (limited to 'drivers/clocksource')
-rw-r--r-- | drivers/clocksource/metag_generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/metag_generic.c b/drivers/clocksource/metag_generic.c index 9e4db41abe3c..b7384b853e5a 100644 --- a/drivers/clocksource/metag_generic.c +++ b/drivers/clocksource/metag_generic.c | |||
@@ -90,7 +90,7 @@ static struct clocksource clocksource_metag = { | |||
90 | 90 | ||
91 | static irqreturn_t metag_timer_interrupt(int irq, void *dummy) | 91 | static irqreturn_t metag_timer_interrupt(int irq, void *dummy) |
92 | { | 92 | { |
93 | struct clock_event_device *evt = &__get_cpu_var(local_clockevent); | 93 | struct clock_event_device *evt = this_cpu_ptr(&local_clockevent); |
94 | 94 | ||
95 | evt->event_handler(evt); | 95 | evt->event_handler(evt); |
96 | 96 | ||