aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/metag_generic.c2
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
91static irqreturn_t metag_timer_interrupt(int irq, void *dummy) 91static 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