diff options
| author | Andy Shevchenko <[email protected]> | 2020-03-10 19:43:36 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-03-12 17:16:41 +0100 |
| commit | e140ef36925f54770fccb8e42be8cc8365221b51 (patch) | |
| tree | 453cab23d2cde10fd9ed0d491427d157fba87182 /tools/perf/scripts/python/stackcollapse.py | |
| parent | b18896ff3a92fe320ad5262009f0b90e04b8a203 (diff) | |
serial: core: Use uart_console() helper in SysRq code
Use uart_console() helper in SysRq code instead of open coded variant.
This eliminates the conditional entirely for SERIAL_CORE_CONSOLE=n case.
While here, refactor the conditional to be more compact.
Reviewed-by: Dmitry Safonov <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions