summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2020-04-23 17:20:19 +0300
committerDavid S. Miller <davem@davemloft.net>2020-04-23 22:50:21 +0300
commitba10742840fbc6e475dc05c7515fd91b7c88e1b2 (patch)
treed95a1a208366302ad49f258204ce171d7a148e9a /tools/perf/scripts/python
parentc8f8e47efe66dae775b617982e47a4564d7c4dda (diff)
downloadlinux-ba10742840fbc6e475dc05c7515fd91b7c88e1b2.tar.xz
net: ethernet: ti: cpts: rework locking
Now spinlock is used to synchronize everything which is not required. Add mutex and use to sync access to PTP interface and PTP worker and use spinlock only to sync FIFO/events processing. Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions