aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorFinn Thain <[email protected]>2018-12-01 00:53:10 +0000
committerGeert Uytterhoeven <[email protected]>2019-03-25 09:22:24 +0000
commit4be2ba93cf2e7a7639e13605aebe0cd656ef9d93 (patch)
treeb07ae9c0e3938e116f44bd7f4f4e17ed05c91bb7 /tools/perf/scripts/python/export-to-sqlite.py
parentm68k: hp300: Convert to clocksource API (diff)
downloadkernel-4be2ba93cf2e7a7639e13605aebe0cd656ef9d93.tar.gz
kernel-4be2ba93cf2e7a7639e13605aebe0cd656ef9d93.zip
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 <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions