Re: [PATCH 1/3] powerpc: Drop clang workaround for builtin constant checks

2024-07-12 Thread Michael Ellerman
On Thu, 09 May 2024 22:12:46 +1000, Michael Ellerman wrote: > The CPU/MMU feature code has build-time checks that the feature value is > a builtin constant. > > Back when the code was added clang wasn't able to compile the > checks, so an ifdef was added to avoid the checks for clang builds. > See

[PATCH 1/3] powerpc: Drop clang workaround for builtin constant checks

2024-05-09 Thread Michael Ellerman
The CPU/MMU feature code has build-time checks that the feature value is a builtin constant. Back when the code was added clang wasn't able to compile the checks, so an ifdef was added to avoid the checks for clang builds. See b5fa0f7f88ed ("powerpc: Fix build failure with clang due to BUILD_BUG_O