aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
diff options
context:
space:
mode:
authorBaoquan He <[email protected]>2024-11-23 11:42:19 +0000
committerBorislav Petkov (AMD) <[email protected]>2024-12-07 16:23:15 +0000
commit095ac6fa19500fecd7c62e755dee45bb303d4d43 (patch)
tree08e12901fa9e169771af2f995170907a7eaff8f0 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
parentx86/boot/compressed: Remove unused header includes from kaslr.c (diff)
downloadkernel-095ac6fa19500fecd7c62e755dee45bb303d4d43.tar.gz
kernel-095ac6fa19500fecd7c62e755dee45bb303d4d43.zip
x86/ioremap: Simplify setup_data mapping variants
memremap_is_setup_data() and early_memremap_is_setup_data() share completely the same process and handling, except for the differing memremap/unmap invocations. Add a helper __memremap_is_setup_data() extracting the common part and simplify a lot of code while at it. Mark __memremap_is_setup_data() as __ref to suppress this section mismatch warning: WARNING: modpost: vmlinux: section mismatch in reference: __memremap_is_setup_data+0x5f (section: .text) -> early_memunmap (section: .init.text) [ bp: Massage a bit. ] Signed-off-by: Baoquan He <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions