]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
s390/asm: Let __HAVE_ASM_FLAG_OUTPUTS__ define 1
authorHeiko Carstens <hca@linux.ibm.com>
Tue, 13 Jan 2026 19:43:59 +0000 (20:43 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Sat, 17 Jan 2026 14:52:49 +0000 (15:52 +0100)
With the empty define __is_enabled(__HAVE_ASM_FLAG_OUTPUTS__)
evaluates to false. Therefore let __HAVE_ASM_FLAG_OUTPUTS__ define 1
if it is defined.

This allows to make use of __is_defined(__HAVE_ASM_FLAG_OUTPUTS__)
like expected.

Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/asm.h

index e9062b01e2a245291f452de8c843fdabb10bec7d..510901c2a5f97b5132dc97cdc56c595e358f8797 100644 (file)
@@ -30,7 +30,7 @@
  */
 #if defined(__GCC_ASM_FLAG_OUTPUTS__) && !(IS_ENABLED(CONFIG_CC_ASM_FLAG_OUTPUT_BROKEN))
 
-#define __HAVE_ASM_FLAG_OUTPUTS__
+#define __HAVE_ASM_FLAG_OUTPUTS__ 1
 
 #define CC_IPM(sym)
 #define CC_OUT(sym, var)       "=@cc" (var)