aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2024-09-10 10:11:35 +0000
committerIngo Molnar <[email protected]>2025-04-22 12:24:07 +0000
commit2ce8043b1d34756509430675696aafcd6db601c7 (patch)
tree1a5ed9b54c202d6bede6d3f28c2f0836f36dfccf /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentMerge tag 'sched_ext-for-6.15-rc3-fixes' of git://git.kernel.org/pub/scm/linu... (diff)
downloadkernel-2ce8043b1d34756509430675696aafcd6db601c7.tar.gz
kernel-2ce8043b1d34756509430675696aafcd6db601c7.zip
x86/vdso: Remove #ifdeffery around page setup variants
Replace the open-coded ifdefs in C sources files with IS_ENABLED(). This makes the code easier to read and enables the compiler to typecheck also the disabled parts, before optimizing them away. To make this work, also remove the ifdefs from declarations of used variables. Signed-off-by: Thomas Weißschuh <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Cc: Andrew Cooper <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Brian Gerst <[email protected]> Cc: Eric Biederman <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Juergen Gross <[email protected]> Cc: Kees Cook <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Rik van Riel <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions