riscv: alternatives: Don't name unused macro parameters
authorAndrew Jones <ajones@ventanamicro.com>
Tue, 29 Nov 2022 15:00:51 +0000 (16:00 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Sat, 10 Dec 2022 02:14:22 +0000 (18:14 -0800)
commit7d52eace1bf5c55704bb0ca5dc8f2489927683ff
tree4b8ae290e8a0e31ac3029b04b198ca221daecd27
parent2ba8c7dc71c098935977528747b82ffae43f3f18
riscv: alternatives: Don't name unused macro parameters

Without CONFIG_RISCV_ALTERNATIVE only the first parameter of the
ALTERNATIVE macros is needed. Use ... for the rest to cut down on
clutter. While there, fix a couple space vs. tab issues.

Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20221129150053.50464-3-ajones@ventanamicro.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/alternative-macros.h