diff options
| author | NeilBrown <[email protected]> | 2024-08-26 06:30:58 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2024-09-17 03:12:33 +0000 |
| commit | aa3d8a36780ab568d528348dd8115560f63ea16b (patch) | |
| tree | 1709ddb34343ab05b0b4907ff03805e48a1b6072 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | blk-integrity: improved sg segment mapping (diff) | |
| download | kernel-aa3d8a36780ab568d528348dd8115560f63ea16b.tar.gz kernel-aa3d8a36780ab568d528348dd8115560f63ea16b.zip | |
block: change wait on bd_claiming to use a var_waitqueue
bd_prepare_to_claim() waits for a var to change, not for a bit to be
cleared. Change from bit_waitqueue() to __var_waitqueue() and
correspondingly use wake_up_var(). This will allow a future patch which
change the "bit" function to expect an "unsigned long *" instead of
"void *".
Signed-off-by: NeilBrown <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
