diff options
author | Jiada Wang <jiada_wang@mentor.com> | 2014-12-09 18:11:23 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-09 14:23:07 -0800 |
commit | 73631813c1ed17437e9de86f82a477fa4bac90c1 (patch) | |
tree | 1adfd7774d7b636ba899d3c013221cd131b9f1fc /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 55d8693acd65b1c14e011cbcbfad2a15626472cd (diff) |
serial: imx: use locking to stop concurrent access of UCR1
Several places are accessing the UCR1 register without locking.
This probably will cause a race issue when another thread
is accessing the same register.
Add locking to preventing concurrent access of the UCR1 register.
Signed-off-by: Jiada Wang <jiada_wang@mentor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions