[PATCH 0/2] bugs/s390: Fix compile error with old gcc versions

Heiko Carstens posted 2 patches 3 months, 3 weeks ago
arch/s390/include/asm/bug.h | 94 ++++++++++++++++---------------------
1 file changed, 41 insertions(+), 53 deletions(-)
[PATCH 0/2] bugs/s390: Fix compile error with old gcc versions
Posted by Heiko Carstens 3 months, 3 weeks ago
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
Re: [PATCH 0/2] bugs/s390: Fix compile error with old gcc versions
Posted by Heiko Carstens 3 months, 2 weeks ago
Hi Ingo,

> 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.

You might have missed this, but this was directed to you :)