diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2018-12-01 11:53:10 +1100 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2019-03-25 10:22:24 +0100 |
commit | 4be2ba93cf2e7a7639e13605aebe0cd656ef9d93 (patch) | |
tree | b07ae9c0e3938e116f44bd7f4f4e17ed05c91bb7 /CREDITS | |
parent | 2ed16626f58f88892864ed0cd68f841872ed1ca1 (diff) |
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>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions