diff options
author | Andrew Jones <ajones@ventanamicro.com> | 2022-11-29 16:00:53 +0100 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-12-09 18:14:24 -0800 |
commit | 26fb4b90b745a808e94a81dc732d440c285fa74b (patch) | |
tree | 1954704396df0ddb9725824e42f8bcf984c608e9 /include/clocksource/timer-ti-dm.h | |
parent | bb2efcde594628ae08ee6e4be51b2047df9d2d06 (diff) | |
download | linux-26fb4b90b745a808e94a81dc732d440c285fa74b.tar.bz2 |
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 'include/clocksource/timer-ti-dm.h')
0 files changed, 0 insertions, 0 deletions