diff options
| author | Jens Axboe <[email protected]> | 2017-05-09 17:39:56 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2017-05-10 13:40:18 +0000 |
| commit | d3738123986954ba3abbd96b595f5176b50c3f5d (patch) | |
| tree | 67770332a697a8496a60c75ca8583dec06b3ceda /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | |
| parent | elevator: remove redundant warnings on IO scheduler switch (diff) | |
| download | kernel-d3738123986954ba3abbd96b595f5176b50c3f5d.tar.gz kernel-d3738123986954ba3abbd96b595f5176b50c3f5d.zip | |
blk-stat: don't use this_cpu_ptr() in a preemptable section
If PREEMPT_RCU is enabled, rcu_read_lock() isn't strong enough
for us to use this_cpu_ptr() in that section. Use the safer
get/put_cpu_ptr() variants instead.
Reported-by: Mike Galbraith <[email protected]>
Fixes: 34dbad5d26e2 ("blk-stat: convert to callback-based statistics reporting")
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions
