Re: [PATCH 1/2] RISC-V: Stop warning about Zabha and Zacas

Paul Walmsley <[email protected]> Wed, 7 Jan 2026 13:41:18 -0700 (MST)
Newsgroups org.kernel.vger.linux-sparse
Message-ID <[email protected]>
On Fri, 2 Jan 2026, Ben Dooks wrote:

> The zabha (atomic byte and halfword) and zacas (atomic compare/swap)
> are now being used by the kernel, so parse these and stop the warnings
> when running make C=1 on current kernels.
> 
> WARNING: invalid argument to '-march': '_zacas_zabha'
> 
> Signed-off-by: Ben Dooks <[email protected]>

Thanks Ben.  This saved me some time!

Tested-by: Paul Walmsley <[email protected]>


- Paul