arm64: alternative: Remove optional 'cfg' parameter
Status from this message: Applied to arm64 (for-next/misc), thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | arm64: mte-kasan: Use IS_ENABLED() rather than ALTERNATIVE() 'cfg' parameterarch/ | +6 | 1 reply | |
| 2/2 | arm64: alternative: Remove 'cfg' parameterarch/ | +10 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Vladimir Murzin |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] arm64: alternative: Remove optional 'cfg' parameter
These patches remove the optional 'cfg' parameter from alternative macros.
Use of the 'cfg' parameter is less clear than ifdeffery or IS_ENABLED() checks, and also doesn't allow the compiler to elide asm() blocks when 'cfg' is not selected, so it's preferable to avoid it.
Mark.
Mark Rutland (2):
arm64: mte-kasan: Use IS_ENABLED() rather than ALTERNATIVE() 'cfg'
parameter
arm64: alternative: Remove 'cfg' parameter
arch/arm64/include/asm/alternative-macros.h | 30 +++++++-------------- arch/arm64/include/asm/mte-kasan.h | 10 ++++--- 2 files changed, 16 insertions(+), 24 deletions(-)
Signature · 1 line
2.30.2