[PATCH 0/2] bugs/s390: Fix compile error with old gcc versions
From: Heiko Carstens
Date: Tue Jun 17 2025 - 09:55:14 EST
As reported by Naresh and Anders old gcc variants cannot handle
strings as input operands for inline assemblies. Rewrite the s390
generic bug support very similar to arm64 and loongarch to fix this.
Also use the opportunity to drop the rather pointless s390 specific
WARN_ON() implementation.
Ingo, I think the two patches should also go via the core/bugs branch
of the tip repository.
Thanks,
Heiko
Heiko Carstens (2):
bugs/s390: Remove private WARN_ON() implementation
bugs/s390: Use inline assembly without input operands
arch/s390/include/asm/bug.h | 94 ++++++++++++++++---------------------
1 file changed, 41 insertions(+), 53 deletions(-)
--
2.48.1