summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2022-04-12 23:24:49 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-04-14 22:29:13 +0300
commit250e64a3f06c42e993e7b8c6f727d43b5b9f8c96 (patch)
tree469d936f31dc90ae9a295ffcf0e9e5bda8501251 /scripts/objdiff
parent9e12b5947bbaa74db32e24d77ebf3bd71015970c (diff)
downloadlinux-250e64a3f06c42e993e7b8c6f727d43b5b9f8c96.tar.xz
drm/amdkfd: fix race condition in kfd_wait_on_events
Add the waiters to the wait queue during initialization, while holding the event spinlock. Otherwise the waiter will not get activated if the event signals before being added to the wait queue. Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Philip Yang<Philip.Yang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions