diff options
author | Helge Deller <deller@gmx.de> | 2023-11-23 21:57:19 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-11-25 09:43:18 +0100 |
commit | 43266838515d30dc0c45d5c7e6e7edacee6cce92 (patch) | |
tree | df175e0fc28c47d8b891374854bcb026fc2e7ed4 /arch/parisc/Kconfig | |
parent | e5f3e299a2b1e9c3ece24a38adfc089aef307e8a (diff) |
parisc: Reduce size of the bug_table on 64-bit kernel by half
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>
Diffstat (limited to 'arch/parisc/Kconfig')
-rw-r--r-- | arch/parisc/Kconfig | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index a7c9c0e69e5a..d14ccc948a29 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig @@ -115,9 +115,12 @@ config ARCH_HAS_ILOG2_U64 default n config GENERIC_BUG - bool - default y + def_bool y depends on BUG + select GENERIC_BUG_RELATIVE_POINTERS if 64BIT + +config GENERIC_BUG_RELATIVE_POINTERS + bool config GENERIC_HWEIGHT bool |