diff options
author | Sergei Shtylyov <[email protected]> | 2018-09-10 23:22:16 +0300 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2018-10-03 14:36:58 +0200 |
commit | 37e7742c55ba856eaec7e35673ee370f36eb17f3 (patch) | |
tree | 4da2076a1b16c7ebaa9e531d1ee660241b56d67e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 22627c6f3ed3d9d0df13eec3c831b08f8186c38e (diff) |
clocksource/drivers/sh_cmt: Fix clocksource width for 32-bit machines
The driver seems to abuse *unsigned long* not only for the (32-bit)
register values but also for the 'sh_cmt_channel::total_cycles' which
needs to always be 64-bit -- as a result, the clocksource's mask is
needlessly clamped down to 32-bits on the 32-bit machines...
Fixes: 19bdc9d061bc ("clocksource: sh_cmt clocksource support")
Reported-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Sergei Shtylyov <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions