Re: [PATCH] riscv: bug: Make RV32 use GENERIC_BUG_RELATIVE_POINTERS

From: Paul Walmsley

Date: Thu Aug 20 2026 - 22:28:49 EST


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@xxxxxxxxxx>

Thanks, queued for v7.3-rc.


- Paul