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:39:23 +0000 (18:39 +0100)
commitf9e9e156dbbb389ab3c2ee26340313dbbede8daa
tree6202f3b5fc7d846b37573cfc2a5f98740cf8a4e0
parent8479f5ca8b6c0d75d9c5466b31785c029b009f44
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