diff options
| author | Andrew Jones <[email protected]> | 2022-11-29 15:00:53 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2022-12-10 02:14:24 +0000 |
| commit | 26fb4b90b745a808e94a81dc732d440c285fa74b (patch) | |
| tree | 1954704396df0ddb9725824e42f8bcf984c608e9 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | riscv: alternatives: Drop the underscores from the assembly macro names (diff) | |
| download | kernel-26fb4b90b745a808e94a81dc732d440c285fa74b.tar.gz kernel-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 <[email protected]>
Tested-by: Lad Prabhakar <[email protected]>
Acked-by: Conor Dooley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
