aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
diff options
context:
space:
mode:
authorSung-hun Kim <[email protected]>2023-03-14 01:37:07 +0000
committerSteven Rostedt (Google) <[email protected]>2023-03-19 17:16:21 +0000
commite400be674a1a40e9dcb2e95f84d6c1fd2d88f31d (patch)
tree72c1c5db82a8bbc9fc2cedaf7c387dbfcd214cfe /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
parentftrace: Set direct_ops storage-class-specifier to static (diff)
downloadkernel-e400be674a1a40e9dcb2e95f84d6c1fd2d88f31d.tar.gz
kernel-e400be674a1a40e9dcb2e95f84d6c1fd2d88f31d.zip
tracing: Make splice_read available again
Since the commit 36e2c7421f02 ("fs: don't allow splice read/write without explicit ops") is applied to the kernel, splice() and sendfile() calls on the trace file (/sys/kernel/debug/tracing /trace) return EINVAL. This patch restores these system calls by initializing splice_read in file_operations of the trace file. This patch only enables such functionalities for the read case. Link: https://lore.kernel.org/linux-trace-kernel/[email protected] Cc: [email protected] Fixes: 36e2c7421f02 ("fs: don't allow splice read/write without explicit ops") Signed-off-by: Sung-hun Kim <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions