allow bug table entries to use relative pointers (and use it on x86-64)
[safe/jmp/linux-2.6] / arch / x86 / Kconfig
index ac22bb7..ab98cca 100644 (file)
@@ -87,6 +87,10 @@ config GENERIC_IOMAP
 config GENERIC_BUG
        def_bool y
        depends on BUG
+       select GENERIC_BUG_RELATIVE_POINTERS if X86_64
+
+config GENERIC_BUG_RELATIVE_POINTERS
+       bool
 
 config GENERIC_HWEIGHT
        def_bool y