s390: Rename GCC_ASM_FLAG_OUTPUT_BROKEN to CC_ASM_FLAG_OUTPUT_BROKEN
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 13 Jan 2025 12:36:55 +0000 (13:36 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Sun, 26 Jan 2025 16:24:04 +0000 (17:24 +0100)
Config options which can be used to check for compiler bugs and features
have the compiler independent CC prefix in order to avoid duplicating and
having to check config options for multiple compilers. Therefore rename the
config option accordingly.

Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/Kconfig
arch/s390/include/asm/asm.h

index e4931a32b896045d4b7333c1cff9bae5a8992379..621d70ec4bd01d67b416fe770c4f874d27495b60 100644 (file)
@@ -52,7 +52,7 @@ config KASAN_SHADOW_OFFSET
        depends on KASAN
        default 0x1C000000000000
 
-config GCC_ASM_FLAG_OUTPUT_BROKEN
+config CC_ASM_FLAG_OUTPUT_BROKEN
        def_bool CC_IS_GCC && GCC_VERSION < 140200
        help
          GCC versions before 14.2.0 may die with an internal
index ec011b94af2ab817d7993ae5659d3932277cd8ab..e9062b01e2a245291f452de8c843fdabb10bec7d 100644 (file)
@@ -28,7 +28,7 @@
  * [var] also contains the program mask. CC_TRANSFORM() moves the condition
  * code to the two least significant bits and sets all other bits to zero.
  */
-#if defined(__GCC_ASM_FLAG_OUTPUTS__) && !(IS_ENABLED(CONFIG_GCC_ASM_FLAG_OUTPUT_BROKEN))
+#if defined(__GCC_ASM_FLAG_OUTPUTS__) && !(IS_ENABLED(CONFIG_CC_ASM_FLAG_OUTPUT_BROKEN))
 
 #define __HAVE_ASM_FLAG_OUTPUTS__