aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2024-04-01 17:48:37 +0000
committerJens Axboe <[email protected]>2024-04-10 22:23:02 +0000
commitd94979904105a7ad8dca6fdcd8cb3fbecada22f1 (patch)
treea309593fd67d235cab96063c8ab74eaec31da7f4 /drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c
parentMerge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff)
downloadkernel-d94979904105a7ad8dca6fdcd8cb3fbecada22f1.tar.gz
kernel-d94979904105a7ad8dca6fdcd8cb3fbecada22f1.zip
timerfd: convert to ->read_iter()
Switch timerfd to using fops->read_iter(), so it can support not just O_NONBLOCK but IOCB_NOWAIT as well. With the latter, users like io_uring interact with timerfds a lot better, as they can be driven purely by the poll trigger. Manually get and install the required fd, so that FMODE_NOWAIT can be set before the file is installed into the file table. No functional changes intended in this patch, it's purely a straight conversion to using the read iterator method. Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c')
0 files changed, 0 insertions, 0 deletions