diff --git a/drivers/clocksource/mvebu.c b/drivers/clocksource/mvebu.c index 2b48a5c..8bedd99 100644 --- a/drivers/clocksource/mvebu.c +++ b/drivers/clocksource/mvebu.c @@ -42,7 +42,7 @@ 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 = { diff --git a/drivers/clocksource/orion.c b/drivers/clocksource/orion.c index 604b414..e3db845 100644 --- a/drivers/clocksource/orion.c +++ b/drivers/clocksource/orion.c @@ -34,7 +34,7 @@ static uint64_t orion_clocksource_read(void) { - return __raw_readl(timer_base + TIMER0_VAL); + return 0 - __raw_readl(timer_base + TIMER0_VAL); } static struct clocksource clksrc = {