Finn Thain 4be2ba93cf m68k: hp300: Handle timer counter overflow
Because hp300_read_clk() never checks the timer interrupt flag it may
fail to notice that the timer has wrapped, allowing the clock to jump
backwards. This is not a new problem.

This is resolved by checking the interrupt flag and, if need be,
taking wrap-around into account. The interrupt handler clears the flag
when it eventually executes.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2019-03-25 10:22:24 +01:00
..
2018-05-22 10:31:50 +02:00
2019-03-25 10:22:24 +01:00
2016-07-03 14:05:28 +02:00
2019-03-25 10:22:24 +01:00
2019-01-21 10:36:53 +01:00