aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJohn Ogness <[email protected]>2024-08-20 08:35:37 +0206
committerPetr Mladek <[email protected]>2024-08-21 14:56:23 +0200
commiteabd4600dafacf9895184259373f2445ff748654 (patch)
tree90b91a5ba7f25e2418caceae5475672a51e3e7f6 /tools/perf/scripts/python/bin
parent77e73c0687f5bc884fa1b0cb97aca912bcc01957 (diff)
serial: core: Introduce wrapper to set @uart_port->cons
Introduce uart_port_set_cons() as a wrapper to set @cons of a uart_port. The wrapper sets @cons under the port lock in order to prevent @cons from disappearing while another context is holding the port lock. This is necessary for a follow-up commit relating to the port lock wrappers, which rely on @cons not changing between lock and unlock. Signed-off-by: John Ogness <[email protected]> Tested-by: Théo Lebrun <[email protected]> # EyeQ5, AMBA-PL011 Acked-by: Greg Kroah-Hartman <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Reviewed-by: Ilpo Järvinen <[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