riscv: bug: Make RV32 use GENERIC_BUG_RELATIVE_POINTERS

x86 did this in commit b0a848f4a4 ("x86/bugs: Make i386 use
GENERIC_BUG_RELATIVE_POINTERS")

powerpc did this in commit 1baa1f70ef ("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@kernel.org>
Link: https://patch.msgid.link/20260221024255.3552-1-jszhang@kernel.org
Signed-off-by: Paul Walmsley <pjw@kernel.org>
This commit is contained in:
Jisheng Zhang 2026-08-31 19:11:23 -06:00 • committed by Paul Walmsley
commit ddeaa39406
2 changed files with 1 additions and 6 deletions