diff options
| author | John Ogness <[email protected]> | 2024-08-20 08:35:36 +0206 |
|---|---|---|
| committer | Petr Mladek <[email protected]> | 2024-08-21 14:56:23 +0200 |
| commit | 77e73c0687f5bc884fa1b0cb97aca912bcc01957 (patch) | |
| tree | 28daa3bc97615c65ae9e8abe587459d4c7c1668d /tools/perf/scripts/python/bin | |
| parent | e55c3bcf380c7593d768f31994eff63935081d06 (diff) | |
serial: core: Provide low-level functions to lock port
It will be necessary at times for the uart nbcon console
drivers to acquire the port lock directly (without the
additional nbcon functionality of the port lock wrappers).
These are special cases such as the implementation of the
device_lock()/device_unlock() callbacks or for internal
port lock wrapper synchronization.
Provide low-level variants __uart_port_lock_irqsave() and
__uart_port_unlock_irqrestore() for this purpose.
Signed-off-by: John Ogness <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions