aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/timer.c b/kernel/timer.c
index fe3a9a9f8328..fc6646fd5aab 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -1351,10 +1351,10 @@ static inline u64 time_interpolator_get_cycles(unsigned int src)
1351 return x(); 1351 return x();
1352 1352
1353 case TIME_SOURCE_MMIO64 : 1353 case TIME_SOURCE_MMIO64 :
1354 return readq((void __iomem *) time_interpolator->addr); 1354 return readq_relaxed((void __iomem *)time_interpolator->addr);
1355 1355
1356 case TIME_SOURCE_MMIO32 : 1356 case TIME_SOURCE_MMIO32 :
1357 return readl((void __iomem *) time_interpolator->addr); 1357 return readl_relaxed((void __iomem *)time_interpolator->addr);
1358 1358
1359 default: return get_cycles(); 1359 default: return get_cycles();
1360 } 1360 }