aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2025-01-05 16:22:20 +0000
committerSteven Rostedt (Google) <[email protected]>2025-01-08 03:23:05 +0000
commit1dfb59a228dde59ad7d99b2fa2104e90004995c7 (patch)
tree7cc5ad0f199d213cdaa7cf2de52d0a2a5c129af9 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentscripts/sorttable: Convert Elf_Sym MACRO over to a union (diff)
downloadkernel-1dfb59a228dde59ad7d99b2fa2104e90004995c7.tar.gz
kernel-1dfb59a228dde59ad7d99b2fa2104e90004995c7.zip
scripts/sorttable: Add helper functions for Elf_Ehdr
In order to remove the double #include of sorttable.h for 64 and 32 bit to create duplicate functions, add helper functions for Elf_Ehdr. This will create a function pointer for each helper that will get assigned to the appropriate function to handle either the 64bit or 32bit version. This also moves the _r()/r() wrappers for the Elf_Ehdr references that handle endian and size differences between the different architectures, into the helper function and out of the open code which is more error prone. Cc: bpf <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Masahiro Yamada <[email protected]> Cc: Nathan Chancellor <[email protected]> Cc: Nicolas Schier <[email protected]> Cc: Zheng Yejian <[email protected]> Cc: Martin Kelly <[email protected]> Cc: Christophe Leroy <[email protected]> Cc: Josh Poimboeuf <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions