modpost: clean up MIPS64 little endian relocation code
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 23 Jul 2023 10:04:45 +0000 (19:04 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 31 Jul 2023 14:42:14 +0000 (23:42 +0900)
commit4732acb75f468c12e2715cf5bf726cac873bc0e5
treed2a8694cc87c9a5c9883394c826136bd3039a855
parent71d965cf3577d68788a3d3ef044eb8e6d85013fa
modpost: clean up MIPS64 little endian relocation code

MIPS64 little endian target has an odd encoding of r_info.

This commit makes the special handling less ugly. It is still ugly,
but #if conditionals will go away, at least.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/mod/modpost.c
scripts/mod/modpost.h