diff options
author | John Ogness <[email protected]> | 2022-11-16 17:27:37 +0106 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2022-12-02 11:25:01 +0100 |
commit | 34d9541edef7f6527d22fde9707b785adbb6d19a (patch) | |
tree | 27e856c2ec780a55938ddb3ed10bc74323636918 /tools/perf/scripts/python/task-analyzer.py | |
parent | 794c8e847d048e3f7179e2659945767e4cf9a396 (diff) |
tty: hvc: use console_is_registered()
It is not reliable to check for CON_ENABLED in order to identify if a
console is registered. Use console_is_registered() instead.
Signed-off-by: John Ogness <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions