diff options
author | John Ogness <[email protected]> | 2022-11-16 17:27:20 +0106 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2022-12-02 11:25:00 +0100 |
commit | 0fb413ea64603a71e19b4b15a6c5b704e3897d06 (patch) | |
tree | ddf789a84cf447301b08bab6c1842e69c87d9666 /tools/perf/scripts/python/task-analyzer.py | |
parent | 3860e7c57fd23e744e045436f9872fb9d01381e2 (diff) |
tty: serial: kgdboc: document console_lock usage
kgdboc_earlycon_init() uses the console_lock to ensure that no consoles
are unregistered until the kgdboc_earlycon is setup. This is necessary
because the trapping of the exit() callback assumes that the exit()
callback is not called before the trap is setup.
Explicitly document this non-typical console_lock usage.
Signed-off-by: John Ogness <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Reviewed-by: Daniel Thompson <[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