aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2020-05-18 06:30:09 -0400
committerPaolo Bonzini <[email protected]>2020-05-20 03:39:40 -0400
commitfebd668d375caf13a7fcd93b3498366854de854a (patch)
tree510cec1c499c48e3e40076945d7a4f9156883c04 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentcb953129bfe5c0f2da835a0469930873fb7e71df (diff)
rcuwait: avoid lockdep splats from rcuwait_active()
rcuwait_active only returns whether w->task is not NULL. This is exactly one of the usecases that are mentioned in the documentation for rcu_access_pointer() where it is correct to bypass lockdep checks. This avoids a splat from kvm_vcpu_on_spin(). Reported-by: Wanpeng Li <[email protected]> Tested-by: Wanpeng Li <[email protected]> Acked-by: Davidlohr Bueso <[email protected]> Cc: Peter Zijlstra <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions