aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/powerpc-hcalls.py
diff options
context:
space:
mode:
authorTimur Tabi <[email protected]>2020-06-09 07:52:03 -0500
committerBen Skeggs <[email protected]>2020-07-24 18:50:47 +1000
commit804f570502289f9ccb31660da8d041fa14af6c65 (patch)
treebea665ff823e4409c0407ec041dde09fbb4082f0 /tools/perf/scripts/python/powerpc-hcalls.py
parent9c64a8dbcb4671df868d7214442c62269e8b671c (diff)
drm/nouveau/tmr: fix nvkm_usec/nvkm_msec definitions
nvkm_timer_wait_init() takes a u64 as a duration parameter, but the expression "(m) * 1000" will be promoted only to a 32-bit integer, if 'm' is also an integer. Changing the 1000 to 1000ULL ensures that the expression will be 64 bits. This change currently has no effect as there are no callers of nvkm_msec() that exceed 2000ms. Signed-off-by: Timur Tabi <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions