aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorSergei Shtylyov2018-09-10 23:22:16 +0300
committerDaniel Lezcano2018-10-03 14:36:58 +0200
commit37e7742c55ba856eaec7e35673ee370f36eb17f3 (patch)
tree4da2076a1b16c7ebaa9e531d1ee660241b56d67e /security
parent22627c6f3ed3d9d0df13eec3c831b08f8186c38e (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 <geert@linux-m68k.org> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions