aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorPetr Pavlu <[email protected]>2025-03-06 13:13:53 +0000
committerPetr Pavlu <[email protected]>2025-05-18 11:56:21 +0000
commitf7984942630b0508c44276ceaa3a3a47d8fd3d2c (patch)
tree55f3700ba0c35f2fcb2bf62841a7a677675b7aac /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentmodule: Constify parameters of module_enforce_rwx_sections() (diff)
downloadkernel-f7984942630b0508c44276ceaa3a3a47d8fd3d2c.tar.gz
kernel-f7984942630b0508c44276ceaa3a3a47d8fd3d2c.zip
module: Add a separate function to mark sections as read-only after init
Move the logic to mark special sections as read-only after module initialization into a separate function, along other related code in strict_rwx.c. Use a table with names of such sections to make it easier to add more. Reviewed-by: Sami Tolvanen <[email protected]> Reviewed-by: Luis Chamberlain <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Petr Pavlu <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions