[PATCH 0/4] riscv: alternative-macros.h cleanups

Conor Dooley conor at kernel.org
Sat Nov 26 09:13:40 PST 2022


On Fri, Nov 25, 2022 at 12:39:55PM +0100, Andrew Jones wrote:
> This series is a collection of cleanups for alternative-macros.h with
> the main motivation being that adding new ALTERNATIVE_3, ALTERNATIVE_4,
> ... will be possible without lots of bloat. For example, adding
> ALTERNATIVE_3 should look something like the diff below and
> ALTERNATIVE_4 the same. This has really only been compile tested, as
> not all alternatives are used when quickly booting over QEMU, which
> I also did.

I gave it a go on my D1 (with the macro args fixed) and it seems to work
as expected. I'm not comfortable enough with this stuff to actually give
you a tag though, sorry :/




More information about the linux-riscv mailing list