parisc: Reduce size of the bug_table on 64-bit kernel by half
[platform/kernel/linux-starfive.git] / arch / parisc / Kconfig
index 68cbe66..8c45b98 100644 (file)
@@ -113,9 +113,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