commit | 19999a8b8782d7f887353753c3c7cb5fca2f3784 | [log] [tgz] |
---|---|---|
author | Finn Thain <fthain@telegraphics.com.au> | Sat Dec 01 11:53:10 2018 +1100 |
committer | Geert Uytterhoeven <geert@linux-m68k.org> | Mon Mar 25 10:22:25 2019 +0100 |
tree | bd52382ef3503e75a2875918185073aada40335b | |
parent | 3d744eee38f11cafb0fc332c3081ab1cd07a89f7 [diff] |
m68k: mvme16x: Handle timer counter overflow Reading the timer counter races with timer overflow (and the corresponding interrupt). This is resolved by reading the overflow register and taking this value into account. The interrupt handler must clear the overflow register when it eventually executes. Suggested-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>