parisc: Reduce size of the bug_table on 64-bit kernel by half
authorHelge Deller <deller@gmx.de>
Thu, 23 Nov 2023 20:57:19 +0000 (21:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Dec 2023 17:45:29 +0000 (18:45 +0100)
commit164960641e6c040e5593a962f5609255f008a8fe
tree3cc12b3f8bc64425d8556ed2436f7ce6223ff937
parent4b117370d1d12cc00bb14ee2f400b1a91e32bb69
parisc: Reduce size of the bug_table on 64-bit kernel by half

[ Upstream commit 43266838515d30dc0c45d5c7e6e7edacee6cce92 ]

Enable GENERIC_BUG_RELATIVE_POINTERS which will store 32-bit relative
offsets to the bug address and the source file name instead of 64-bit
absolute addresses. This effectively reduces the size of the
bug_table[] array by half on 64-bit kernels.

Signed-off-by: Helge Deller <deller@gmx.de>
Stable-dep-of: 487635756198 ("parisc: Fix asm operand number out of range build error in bug table")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/parisc/Kconfig
arch/parisc/include/asm/bug.h