[PATCH] riscv: bug: Make RV32 use GENERIC_BUG_RELATIVE_POINTERS
Paul Walmsley
pjw at kernel.org
Thu Aug 20 19:28:42 PDT 2026
On Sat, 21 Feb 2026, Jisheng Zhang wrote:
> x86 did this in commit b0a848f4a47a ("x86/bugs: Make i386 use
> GENERIC_BUG_RELATIVE_POINTERS")
>
> powerpc did this in commit 1baa1f70ef77 ("powerpc: Allow relative
> pointers in bug table entries")
>
> Similar as x86 and powerpc does, make RV32 use
> GENERIC_BUG_RELATIVE_POINTERS for "there is only one code path." and
> "less #ifdef is more better".
>
> Signed-off-by: Jisheng Zhang <jszhang at kernel.org>
Thanks, queued for v7.3-rc.
- Paul
More information about the linux-riscv
mailing list