[PATCH v2 3/4] ARM: Reduce the number of #ifdef CONFIG_CPU_SW_DOMAIN_PAN
Arnd Bergmann
arnd at arndb.de
Tue Mar 12 01:39:24 PDT 2024
On Tue, Mar 12, 2024, at 09:30, Linus Walleij wrote:
>
> I think the C++ preprocessor supports #elifdef but with plain cpp
> we are left with this. (At least last time I checked.)
I thought I read something about it when I experimentally built
--std=gnu2x. Checking again, I see #elifdef is supported with
both gcc-12 and clang-13, but is silently ignored on older
versions, so we won't be able to use it for a while.
Arnd
More information about the linux-arm-kernel
mailing list