summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/mvebu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clocksource/mvebu.c')
-rw-r--r--drivers/clocksource/mvebu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/mvebu.c b/drivers/clocksource/mvebu.c
index 2b48a5c91b..8bedd99222 100644
--- a/drivers/clocksource/mvebu.c
+++ b/drivers/clocksource/mvebu.c
@@ -42,7 +42,7 @@ static __iomem void *timer_base;
uint64_t mvebu_clocksource_read(void)
{
- return __raw_readl(timer_base + TIMER0_VAL_OFF);
+ return 0 - __raw_readl(timer_base + TIMER0_VAL_OFF);
}
static struct clocksource cs = {