diff options
author | 2014-08-29 17:09:18 +0200 | |
---|---|---|
committer | 2014-09-09 16:39:10 -0700 | |
commit | 384859d2af8ead22c9e5a570a4ab89f1b563c8e5 (patch) | |
tree | 753e436fd62f5eae28fdc099d2d6a5d7e9ba6c46 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | sparc: Let memset return the address argument (diff) | |
download | wireguard-linux-384859d2af8ead22c9e5a570a4ab89f1b563c8e5.tar.xz wireguard-linux-384859d2af8ead22c9e5a570a4ab89f1b563c8e5.zip |
sparc: leon: Fix race condition between leon_cycles_offset and timer_interrupt
This makes sure that leon_cycles_offset takes the pending bit into
account and that leon_clear_clock_irq clears the pending bit. Otherwise,
if leon_cycles_offset is executed after the timer has wrapped but before
timer_interrupt has increased timer_cs_internal_counter, time can be
perceived to go backwards.
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions