summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2018-09-05 09:24:26 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-18 16:07:24 +0200
commit07b5e16e9830878291bc83df70e87cdb0833517c (patch)
tree58ad1807ac2c3ff5dbfbdb006e8ab9f5995decfc /tools/perf/scripts/python/syscall-counts.py
parentc974991d2620419fe21508fc4529014369d16df7 (diff)
tty: serial: imx: add lock for registers save/restore
In noirq suspend/resume stage with no_console_suspend enabled, imx_uart_console_write() may be called to print out log_buf message by printk(), so there will be race condition between imx_uart_console_write() and imx_uart_save/restore_context(), need to add lock to protect the registers save/restore operations. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions