jump_label: move 'asm goto' support test to Kconfig
[linux-2.6-block.git] / init / Kconfig
index 3e6be1694766555949c0eae75ceaba01c90d9350..d47cb77a220e83672b2746fc6ed871027f3d6490 100644 (file)
@@ -23,6 +23,9 @@ config CLANG_VERSION
        int
        default $(shell,$(srctree)/scripts/clang-version.sh $(CC))
 
+config CC_HAS_ASM_GOTO
+       def_bool $(success,$(srctree)/scripts/gcc-goto.sh $(CC))
+
 config CONSTRUCTORS
        bool
        depends on !UML