diff options
author | Sven Schnelle <[email protected]> | 2021-11-02 10:55:30 +0100 |
---|---|---|
committer | Vasily Gorbik <[email protected]> | 2021-11-08 14:17:49 +0100 |
commit | 213fca9e23b59581c573d558aa477556f00b8198 (patch) | |
tree | b9df9d23c85818987ceb4e892853f7762d7dab60 /tools/perf/util/trace-event-scripting.c | |
parent | 4cdf2f4e24ff0d345fc36ef6d6aec059333a261e (diff) |
s390/tape: fix timer initialization in tape_std_assign()
commit 9c6c273aa424 ("timer: Remove init_timer_on_stack() in favor
of timer_setup_on_stack()") changed the timer setup from
init_timer_on_stack(() to timer_setup(), but missed to change the
mod_timer() call. And while at it, use msecs_to_jiffies() instead
of the open coded timeout calculation.
Cc: [email protected]
Fixes: 9c6c273aa424 ("timer: Remove init_timer_on_stack() in favor of timer_setup_on_stack()")
Signed-off-by: Sven Schnelle <[email protected]>
Reviewed-by: Vasily Gorbik <[email protected]>
Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions