diff options
author | Yu Zhe <[email protected]> | 2022-07-28 11:30:26 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-07-29 15:17:31 -0400 |
commit | dcfe584b00f1d6dcbeeb769b939f53a3c4f04143 (patch) | |
tree | 84ff164cfe5374a7fe5667b098cba441027034c5 /lib/mpi/mpi-cmp.c | |
parent | 1ff186ff32997049a6d263031819517eab4e93aa (diff) |
drm/amdkfd: use time_is_before_jiffies(a + b) to replace "jiffies - a > b"
time_is_before_jiffies deals with timer wrapping correctly.
Signed-off-by: Yu Zhe <[email protected]>
Signed-off-by: Felix Kuehling <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions