summaryrefslogtreecommitdiffstats
path: root/block/elevator.c
diff options
context:
space:
mode:
authorAndrew Jones <ajones@ventanamicro.com>2022-11-29 16:00:53 +0100
committerPalmer Dabbelt <palmer@rivosinc.com>2022-12-10 03:14:24 +0100
commit26fb4b90b745a808e94a81dc732d440c285fa74b (patch)
tree1954704396df0ddb9725824e42f8bcf984c608e9 /block/elevator.c
parentriscv: alternatives: Drop the underscores from the assembly macro names (diff)
downloadlinux-26fb4b90b745a808e94a81dc732d440c285fa74b.tar.xz
linux-26fb4b90b745a808e94a81dc732d440c285fa74b.zip
riscv: Don't duplicate _ALTERNATIVE_CFG* macros
Reduce clutter by only defining the _ALTERNATIVE_CFG* macros once, rather than once for assembly and once for C. To do that, we need to add __ALTERNATIVE_CFG* macros to the assembly side, but those are one-liners. Also take the opportunity to do a bit of reformatting, taking full advantage of the fact checkpatch gives us 100 char lines. 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-5-ajones@ventanamicro.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'block/elevator.c')
0 files changed, 0 insertions, 0 deletions