Skip to content
Commit dcfe584b authored by Yu Zhe's avatar Yu Zhe Committed by Alex Deucher
Browse files

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: default avatarYu Zhe <yuzhe@nfschina.com>
Signed-off-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 1ff186ff
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment